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