diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-12-01 02:54:47 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-12-01 02:54:47 +0700 |
commit | d31dec5d2f967711f65baf3be50db1349d1b7d91 (patch) | |
tree | 249a53ccc4860e6152d2cf1ceb22df151e75d0fd /crypto/src/math/ec/custom/sec/SecT233FieldElement.cs | |
parent | sect233k1 perf. opts. (diff) | |
download | BouncyCastle.NET-ed25519-d31dec5d2f967711f65baf3be50db1349d1b7d91.tar.xz |
Binary curve perf. opts.
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecT233FieldElement.cs')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecT233FieldElement.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT233FieldElement.cs b/crypto/src/math/ec/custom/sec/SecT233FieldElement.cs index 8aff8c87a..6625b63d7 100644 --- a/crypto/src/math/ec/custom/sec/SecT233FieldElement.cs +++ b/crypto/src/math/ec/custom/sec/SecT233FieldElement.cs @@ -132,7 +132,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec ulong[] xx = ((SecT233FieldElement)x).x, yx = ((SecT233FieldElement)y).x; ulong[] tt = Nat256.CreateExt64(); - SecT233Field.SquareAddToExt(ax, tt); + SecT233Field.SquareExt(ax, tt); SecT233Field.MultiplyAddToExt(xx, yx, tt); ulong[] z = Nat256.Create64(); |