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