diff options
Diffstat (limited to 'src/mscorlib/src/System/Runtime/Intrinsics/X86/Aes.cs')
-rw-r--r-- | src/mscorlib/src/System/Runtime/Intrinsics/X86/Aes.cs | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/src/mscorlib/src/System/Runtime/Intrinsics/X86/Aes.cs b/src/mscorlib/src/System/Runtime/Intrinsics/X86/Aes.cs new file mode 100644 index 0000000000..43aebc990c --- /dev/null +++ b/src/mscorlib/src/System/Runtime/Intrinsics/X86/Aes.cs @@ -0,0 +1,74 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +using System; +using System.Runtime.Intrinsics; + +namespace System.Runtime.Intrinsics.X86 +{ + /// <summary> + /// This class provides access to Intel AES hardware instructions via intrinsics + /// </summary> + [CLSCompliant(false)] + public static class Aes + { + public static bool IsSupported { get { return false; } } + + /// <summary> + /// __m128i _mm_aesdec_si128 (__m128i a, __m128i RoundKey) + /// </summary> + public static Vector128<sbyte> Decrypt(Vector128<sbyte> value, Vector128<sbyte> roundKey) { throw new NotImplementedException(); } + /// <summary> + /// __m128i _mm_aesdec_si128 (__m128i a, __m128i RoundKey) + /// </summary> + public static Vector128<byte> Decrypt(Vector128<byte> value, Vector128<byte> roundKey) { throw new NotImplementedException(); } + + /// <summary> + /// __m128i _mm_aesdeclast_si128 (__m128i a, __m128i RoundKey) + /// </summary> + public static Vector128<sbyte> DecryptLast(Vector128<sbyte> value, Vector128<sbyte> roundKey) { throw new NotImplementedException(); } + /// <summary> + /// __m128i _mm_aesdeclast_si128 (__m128i a, __m128i RoundKey) + /// </summary> + public static Vector128<byte> DecryptLast(Vector128<byte> value, Vector128<byte> roundKey) { throw new NotImplementedException(); } + + /// <summary> + /// __m128i _mm_aesenc_si128 (__m128i a, __m128i RoundKey) + /// </summary> + public static Vector128<sbyte> Encrypt(Vector128<sbyte> value, Vector128<sbyte> roundKey) { throw new NotImplementedException(); } + /// <summary> + /// __m128i _mm_aesenc_si128 (__m128i a, __m128i RoundKey) + /// </summary> + public static Vector128<byte> Encrypt(Vector128<byte> value, Vector128<byte> roundKey) { throw new NotImplementedException(); } + + /// <summary> + /// __m128i _mm_aesenclast_si128 (__m128i a, __m128i RoundKey) + /// </summary> + public static Vector128<sbyte> EncryptLast(Vector128<sbyte> value, Vector128<sbyte> roundKey) { throw new NotImplementedException(); } + /// <summary> + /// __m128i _mm_aesenclast_si128 (__m128i a, __m128i RoundKey) + /// </summary> + public static Vector128<byte> EncryptLast(Vector128<byte> value, Vector128<byte> roundKey) { throw new NotImplementedException(); } + + /// <summary> + /// __m128i _mm_aesimc_si128 (__m128i a) + /// </summary> + public static Vector128<sbyte> InvisibleMixColumn(Vector128<sbyte> value) { throw new NotImplementedException(); } + /// <summary> + /// __m128i _mm_aesimc_si128 (__m128i a) + /// </summary> + public static Vector128<byte> InvisibleMixColumn(Vector128<byte> value) { throw new NotImplementedException(); } + + /// <summary> + /// __m128i _mm_aeskeygenassist_si128 (__m128i a, const int imm8) + /// </summary> + public static Vector128<sbyte> KeygenAssist(Vector128<sbyte> value, byte control) { throw new NotImplementedException(); } + /// <summary> + /// __m128i _mm_aeskeygenassist_si128 (__m128i a, const int imm8) + /// </summary> + public static Vector128<byte> KeygenAssist(Vector128<byte> value, byte control) { throw new NotImplementedException(); } + + } + +} |