summary refs log tree commit diff
path: root/crypto/src/math/ec/rfc8032/Ed25519.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/math/ec/rfc8032/Ed25519.cs')
-rw-r--r--crypto/src/math/ec/rfc8032/Ed25519.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/rfc8032/Ed25519.cs b/crypto/src/math/ec/rfc8032/Ed25519.cs
index 95ba43472..3a39ae53d 100644
--- a/crypto/src/math/ec/rfc8032/Ed25519.cs
+++ b/crypto/src/math/ec/rfc8032/Ed25519.cs
@@ -754,7 +754,7 @@ namespace Org.BouncyCastle.Math.EC.Rfc8032
 
                         X25519Field.Add(q.z, q.z, x);
                         // TODO[ed25519] Batch inversion
-                        X25519Field.Inv(x, y);
+                        X25519Field.InvVar(x, y);
                         X25519Field.Mul(q.x, y, x);
                         X25519Field.Mul(q.y, y, y);