From c5a1f12eff4da07c373b9a146003dac60614387c Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Tue, 19 Jul 2022 15:28:24 +0700 Subject: More precise preprocessor directives --- crypto/src/math/ec/custom/sec/SecT571Field.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/src/math/ec/custom/sec/SecT571Field.cs') 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); -- cgit 1.4.1