diff options
Diffstat (limited to 'crypto/src/runtime/intrinsics/x86/Pclmulqdq.cs')
-rw-r--r-- | crypto/src/runtime/intrinsics/x86/Pclmulqdq.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/crypto/src/runtime/intrinsics/x86/Pclmulqdq.cs b/crypto/src/runtime/intrinsics/x86/Pclmulqdq.cs new file mode 100644 index 000000000..a28ea7230 --- /dev/null +++ b/crypto/src/runtime/intrinsics/x86/Pclmulqdq.cs @@ -0,0 +1,20 @@ +namespace Org.BouncyCastle.Runtime.Intrinsics.X86 +{ + internal static class Pclmulqdq + { +#if NETCOREAPP3_0_OR_GREATER + internal static bool IsEnabled => System.Runtime.Intrinsics.X86.Pclmulqdq.IsSupported; +#else + internal static bool IsEnabled => false; +#endif + +// internal static class X64 +// { +//#if NETCOREAPP3_0_OR_GREATER +// internal static bool IsEnabled => System.Runtime.Intrinsics.X86.Pclmulqdq.X64.IsSupported; +//#else +// internal static bool IsEnabled => false; +//#endif +// } + } +} |