IKVM11
11
Java SE 11 Virtual Machine for .NET
Loading...
Searching...
No Matches
GHASH.cs
Go to the documentation of this file.
1
using
System
;
2
using
System.Runtime.CompilerServices
;
3
4
using
IKVM.Attributes
;
5
6
namespace
IKVM.Runtime.Util.Com.Sun.Crypto.Provider
7
{
8
12
[HideFromJava]
13
internal
static
class
GHASH
14
{
15
27
[MethodImpl(MethodImplOptions.AggressiveInlining)]
28
public
static
bool
ProcessBlocks(
byte
[] data,
int
inOfs,
int
blocks,
long
[] st,
long
[] subH)
29
{
30
#if FIRST_PASS
31
throw
new
NotImplementedException();
32
#else
33
#if NETCOREAPP3_0_OR_GREATER
34
if
(GHASH_x86.IsSupported)
35
{
36
GHASH_x86.ProcessBlocks(st, subH, data.AsSpan(inOfs), blocks);
37
return
true
;
38
}
39
40
#if NET6_0_OR_GREATER
41
if
(GHASH_Arm64.IsSupported)
42
{
43
GHASH_Arm64.ProcessBlocks(st, subH, data.AsSpan(inOfs), blocks);
44
return
true
;
45
}
46
#endif
47
#endif
48
49
return
false
;
50
#endif
51
}
52
53
}
54
55
}
IKVM.Attributes
Definition
AccessStub.cs:27
IKVM.Runtime.Util.Com.Sun.Crypto.Provider
Definition
AESCrypt.cs:7
System.Runtime.CompilerServices
Definition
CompilerFeatureRequiredAttribute.cs:5
System
Definition
HexConverter.cs:9
src
IKVM.Runtime
Util
Com
Sun
Crypto
Provider
GHASH.cs
Generated by
1.12.0