summary refs log tree commit diff
path: root/crypto/src/math/ec/custom/sec/SecT409FieldElement.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-12-01 02:54:47 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-12-01 02:54:47 +0700
commitd31dec5d2f967711f65baf3be50db1349d1b7d91 (patch)
tree249a53ccc4860e6152d2cf1ceb22df151e75d0fd /crypto/src/math/ec/custom/sec/SecT409FieldElement.cs
parentsect233k1 perf. opts. (diff)
downloadBouncyCastle.NET-ed25519-d31dec5d2f967711f65baf3be50db1349d1b7d91.tar.xz
Binary curve perf. opts.
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecT409FieldElement.cs')
-rw-r--r--crypto/src/math/ec/custom/sec/SecT409FieldElement.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT409FieldElement.cs b/crypto/src/math/ec/custom/sec/SecT409FieldElement.cs
index a9b08526a..d6cbd2591 100644
--- a/crypto/src/math/ec/custom/sec/SecT409FieldElement.cs
+++ b/crypto/src/math/ec/custom/sec/SecT409FieldElement.cs
@@ -132,7 +132,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ulong[] xx = ((SecT409FieldElement)x).x, yx = ((SecT409FieldElement)y).x;
 
             ulong[] tt = Nat.Create64(13);
-            SecT409Field.SquareAddToExt(ax, tt);
+            SecT409Field.SquareExt(ax, tt);
             SecT409Field.MultiplyAddToExt(xx, yx, tt);
 
             ulong[] z = Nat448.Create64();