summary refs log tree commit diff
path: root/crypto/src/math/ec/custom/sec/SecT113FieldElement.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/SecT113FieldElement.cs
parentsect233k1 perf. opts. (diff)
downloadBouncyCastle.NET-ed25519-d31dec5d2f967711f65baf3be50db1349d1b7d91.tar.xz
Binary curve perf. opts.
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecT113FieldElement.cs')
-rw-r--r--crypto/src/math/ec/custom/sec/SecT113FieldElement.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT113FieldElement.cs b/crypto/src/math/ec/custom/sec/SecT113FieldElement.cs
index 63de2b88c..1f08af0db 100644
--- a/crypto/src/math/ec/custom/sec/SecT113FieldElement.cs
+++ b/crypto/src/math/ec/custom/sec/SecT113FieldElement.cs
@@ -132,7 +132,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec
             ulong[] xx = ((SecT113FieldElement)x).x, yx = ((SecT113FieldElement)y).x;
 
             ulong[] tt = Nat128.CreateExt64();
-            SecT113Field.SquareAddToExt(ax, tt);
+            SecT113Field.SquareExt(ax, tt);
             SecT113Field.MultiplyAddToExt(xx, yx, tt);
 
             ulong[] z = Nat128.Create64();