summary refs log tree commit diff
path: root/crypto/src/crypto/signers/ECNRSigner.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/crypto/signers/ECNRSigner.cs')
-rw-r--r--crypto/src/crypto/signers/ECNRSigner.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crypto/src/crypto/signers/ECNRSigner.cs b/crypto/src/crypto/signers/ECNRSigner.cs

index ba953aca4..cae15bdbf 100644 --- a/crypto/src/crypto/signers/ECNRSigner.cs +++ b/crypto/src/crypto/signers/ECNRSigner.cs
@@ -106,8 +106,7 @@ namespace Org.BouncyCastle.Crypto.Signers // BigInteger Vx = tempPair.getPublic().getW().getAffineX(); ECPublicKeyParameters V = (ECPublicKeyParameters) tempPair.Public; // get temp's public key - ECPoint vq = V.Q.Normalize(); - BigInteger Vx = vq.AffineXCoord.ToBigInteger(); // get the point's x coordinate + BigInteger Vx = V.Q.AffineXCoord.ToBigInteger(); // get the point's x coordinate r = Vx.Add(e).Mod(n); }