diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-19 15:28:24 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-07-19 15:28:24 +0700 |
commit | c5a1f12eff4da07c373b9a146003dac60614387c (patch) | |
tree | a51d8f4cf5740409bcb5688406302e9f93d116d7 /crypto/src/math/ec | |
parent | AesX86Engine improvements (diff) | |
download | BouncyCastle.NET-ed25519-c5a1f12eff4da07c373b9a146003dac60614387c.tar.xz |
More precise preprocessor directives
Diffstat (limited to 'crypto/src/math/ec')
-rw-r--r-- | crypto/src/math/ec/custom/sec/SecT571Field.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/math/ec/custom/sec/SecT571Field.cs b/crypto/src/math/ec/custom/sec/SecT571Field.cs index 97bc08d67..91a3fde9d 100644 --- a/crypto/src/math/ec/custom/sec/SecT571Field.cs +++ b/crypto/src/math/ec/custom/sec/SecT571Field.cs @@ -1,6 +1,6 @@ using System; using System.Diagnostics; -#if NET5_0_OR_GREATER +#if NETCOREAPP3_0_OR_GREATER using System.Runtime.Intrinsics; using System.Runtime.Intrinsics.X86; #endif @@ -403,7 +403,7 @@ namespace Org.BouncyCastle.Math.EC.Custom.Sec protected static void ImplMulwAcc(ulong[] u, ulong x, ulong y, ulong[] z, int zOff) { -#if NET5_0_OR_GREATER +#if NETCOREAPP3_0_OR_GREATER if (Pclmulqdq.IsSupported) { var X = Vector128.CreateScalar(x); |