22 references to KMAC128
System.Security.Cryptography (22)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.EVP.MacAlgs.cs (1)
25
Kmac128 = EvpMacFetch(HashAlgorithmNames.
KMAC128
);
System\Security\Cryptography\HashProviderDispenser.OpenSsl.cs (2)
18
HashAlgorithmNames.
KMAC128
=> Interop.Crypto.EvpMacAlgs.Kmac128 is not null,
36
HashAlgorithmNames.
KMAC128
=> Interop.Crypto.EvpMacAlgs.Kmac128,
System\Security\Cryptography\Kmac128.cs (9)
56
_kmacProvider = new ConcurrentSafeKmac(HashAlgorithmNames.
KMAC128
, key, customizationString, xof: false);
70
public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.
KMAC128
);
316
return LiteHashProvider.KmacStream(HashAlgorithmNames.
KMAC128
, key, customizationString, outputLength, source, xof: false);
352
return LiteHashProvider.KmacStream(HashAlgorithmNames.
KMAC128
, key, customizationString, outputLength, source, xof: false);
383
LiteHashProvider.KmacStream(HashAlgorithmNames.
KMAC128
, key, customizationString, source, xof: false, destination);
430
return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.
KMAC128
, key, source, xof: false, outputLength, customizationString, cancellationToken);
476
return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.
KMAC128
, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken);
516
return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.
KMAC128
, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
526
HashAlgorithmNames.
KMAC128
,
System\Security\Cryptography\KmacXof128.cs (9)
56
_kmacProvider = new ConcurrentSafeKmac(HashAlgorithmNames.
KMAC128
, key, customizationString, xof: true);
70
public static bool IsSupported { get; } = HashProviderDispenser.KmacSupported(HashAlgorithmNames.
KMAC128
);
316
return LiteHashProvider.KmacStream(HashAlgorithmNames.
KMAC128
, key, customizationString, outputLength, source, xof: true);
352
return LiteHashProvider.KmacStream(HashAlgorithmNames.
KMAC128
, key, customizationString, outputLength, source, xof: true);
383
LiteHashProvider.KmacStream(HashAlgorithmNames.
KMAC128
, key, customizationString, source, xof: true, destination);
430
return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.
KMAC128
, key, source, xof: true, outputLength, customizationString, cancellationToken);
476
return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.
KMAC128
, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken);
516
return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.
KMAC128
, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
526
HashAlgorithmNames.
KMAC128
,
System\Security\Cryptography\LiteHash.OpenSsl.cs (1)
17
HashAlgorithmNames.
KMAC128
=> Interop.Crypto.EvpMacAlgs.Kmac128,