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