/
Aes.PlatformNotSupported.cs
83 lines (69 loc) · 3.37 KB
/
Aes.PlatformNotSupported.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#pragma warning disable IDE0060 // unused parameters
using System.Runtime.CompilerServices;
namespace System.Runtime.Intrinsics.Arm
{
/// <summary>
/// This class provides access to the ARM AES hardware instructions via intrinsics
/// </summary>
[CLSCompliant(false)]
public abstract class Aes : ArmBase
{
internal Aes() { }
public static new bool IsSupported { [Intrinsic] get => false; }
public new abstract class Arm64 : ArmBase.Arm64
{
internal Arm64() { }
public static new bool IsSupported { [Intrinsic] get { return false; } }
}
/// <summary>
/// uint8x16_t vaesdq_u8 (uint8x16_t data, uint8x16_t key)
/// A32: AESD.8 Qd, Qm
/// A64: AESD Vd.16B, Vn.16B
/// </summary>
public static Vector128<byte> Decrypt(Vector128<byte> value, Vector128<byte> roundKey) { throw new PlatformNotSupportedException(); }
/// <summary>
/// uint8x16_t vaeseq_u8 (uint8x16_t data, uint8x16_t key)
/// A32: AESE.8 Qd, Qm
/// A64: AESE Vd.16B, Vn.16B
/// </summary>
public static Vector128<byte> Encrypt(Vector128<byte> value, Vector128<byte> roundKey) { throw new PlatformNotSupportedException(); }
/// <summary>
/// uint8x16_t vaesimcq_u8 (uint8x16_t data)
/// A32: AESIMC.8 Qd, Qm
/// A64: AESIMC Vd.16B, Vn.16B
/// </summary>
public static Vector128<byte> InverseMixColumns(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
/// <summary>
/// uint8x16_t vaesmcq_u8 (uint8x16_t data)
/// A32: AESMC.8 Qd, Qm
/// A64: AESMC V>.16B, Vn.16B
/// </summary>
public static Vector128<byte> MixColumns(Vector128<byte> value) { throw new PlatformNotSupportedException(); }
/// <summary>
/// poly128_t vmull_p64 (poly64_t a, poly64_t b)
/// A32: VMULL.P8 Qd, Dn, Dm
/// A64: PMULL Vd.1Q, Vn.1D, Vm.1D
/// </summary>
public static Vector128<long> PolynomialMultiplyWideningLower(Vector64<long> left, Vector64<long> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// poly128_t vmull_p64 (poly64_t a, poly64_t b)
/// A32: VMULL.P8 Qd, Dn, Dm
/// A64: PMULL Vd.1Q, Vn.1D, Vm.1D
/// </summary>
public static Vector128<ulong> PolynomialMultiplyWideningLower(Vector64<ulong> left, Vector64<ulong> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// poly128_t vmull_high_p64 (poly64x2_t a, poly64x2_t b)
/// A32: VMULL.P8 Qd, Dn+1, Dm+1
/// A64: PMULL2 Vd.1Q, Vn.2D, Vm.2D
/// </summary>
public static Vector128<long> PolynomialMultiplyWideningUpper(Vector128<long> left, Vector128<long> right) { throw new PlatformNotSupportedException(); }
/// <summary>
/// poly128_t vmull_high_p64 (poly64x2_t a, poly64x2_t b)
/// A32: VMULL.P8 Qd, Dn+1, Dm+1
/// A64: PMULL2 Vd.1Q, Vn.2D, Vm.2D
/// </summary>
public static Vector128<ulong> PolynomialMultiplyWideningUpper(Vector128<ulong> left, Vector128<ulong> right) { throw new PlatformNotSupportedException(); }
}
}