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