diff options
Diffstat (limited to 'crypto/src/math/ec/custom/sec/SecT163K1Point.cs')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecT163K1Point.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT163K1Point.cs b/crypto/src/math/ec/custom/sec/SecT163K1Point.cs index 06855c50c..a93f0882b 100644 --- a/crypto/src/math/ec/custom/sec/SecT163K1Point.cs +++ b/crypto/src/math/ec/custom/sec/SecT163K1Point.cs @@ -82,7 +82,11 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec SecT163FieldElement L1 = (SecT163FieldElement)this.RawYCoord, Z1 = (SecT163FieldElement)this.RawZCoords[0]; SecT163FieldElement L2 = (SecT163FieldElement)b.RawYCoord, Z2 = (SecT163FieldElement)b.RawZCoords[0]; +#if NETCOREAPP2_1_OR_GREATER || NETSTANDARD2_1_OR_GREATER + Span<ulong> tt0 = stackalloc ulong[6]; +#else ulong[] tt0 = Nat192.CreateExt64(); +#endif ulong[] t1 = Nat192.Create64(); ulong[] t2 = Nat192.Create64(); ulong[] t3 = Nat192.Create64(); |