59 references to LiteHashProvider
System.Security.Cryptography (59)
System\Security\Cryptography\ConcurrentSafeKmac.cs (1)
20_liteKmac = LiteHashProvider.CreateKmac(algorithmId, key, customizationString, xof);
System\Security\Cryptography\CryptographicOperations.cs (10)
231return LiteHashProvider.HashStream(hashAlgorithm.Name, hashSizeInBytes, source); 269int written = LiteHashProvider.HashStream(hashAlgorithm.Name, source, destination); 319return LiteHashProvider.HashStreamAsync( 366return LiteHashProvider.HashStreamAsync(hashAlgorithm.Name, source, cancellationToken); 580return LiteHashProvider.HmacStream(hashAlgorithm.Name, hashSizeInBytes, key, source); 619return LiteHashProvider.HmacStream(hashAlgorithm.Name, key, source, destination); 711return LiteHashProvider.HmacStreamAsync(hashAlgorithm.Name, key.Span, source, destination, cancellationToken); 756return LiteHashProvider.HmacStreamAsync(hashAlgorithm.Name, key.Span, source, cancellationToken); 905int written = LiteHashProvider.HmacStream(hashAlgorithm.Name, key, source, macBuffer); 1004int written = await LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\HashProviderDispenser.Unix.cs (2)
94_liteHash = LiteHashProvider.CreateHash(hashAlgorithmId); 170_liteHmac = LiteHashProvider.CreateHmac(hashAlgorithmId, key);
System\Security\Cryptography\HashStatic.cs (4)
76return LiteHashProvider.HashStream(THash.HashAlgorithmName, source, destination); 87return LiteHashProvider.HashStream(THash.HashAlgorithmName, THash.HashSizeInBytes, source); 98return LiteHashProvider.HashStreamAsync(THash.HashAlgorithmName, source, cancellationToken); 115return LiteHashProvider.HashStreamAsync(
System\Security\Cryptography\HMACStatic.cs (6)
96return LiteHashProvider.HmacStream(THMAC.HashAlgorithmName, key, source, destination); 107return LiteHashProvider.HmacStream(THMAC.HashAlgorithmName, THMAC.HashSizeInBytes, key, source); 128return LiteHashProvider.HmacStreamAsync(THMAC.HashAlgorithmName, key.Span, source, cancellationToken); 153return LiteHashProvider.HmacStreamAsync( 182int written = LiteHashProvider.HmacStream(THMAC.HashAlgorithmName, key, source, mac); 226int written = await LiteHashProvider.HmacStreamAsync(
System\Security\Cryptography\Kmac128.cs (6)
399return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false); 435return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false); 466LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: false, destination); 513return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: false, outputLength, customizationString, cancellationToken); 559return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken); 599return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\Kmac256.cs (6)
399return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: false); 435return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: false); 466LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, source, xof: false, destination); 513return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key, source, xof: false, outputLength, customizationString, cancellationToken); 559return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken); 599return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\KmacStatic.cs (2)
81LiteHashProvider.KmacStream( 128await LiteHashProvider.KmacStreamAsync(
System\Security\Cryptography\KmacXof128.cs (6)
399return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true); 435return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true); 466LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: true, destination); 513return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: true, outputLength, customizationString, cancellationToken); 559return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken); 599return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\KmacXof256.cs (6)
399return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: true); 435return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: true); 466LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, source, xof: true, destination); 513return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key, source, xof: true, outputLength, customizationString, cancellationToken); 559return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken); 599return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\Shake128.cs (5)
37_hashProvider = LiteHashProvider.CreateXof(HashAlgorithmId); 361return LiteHashProvider.XofStream(HashAlgorithmId, outputLength, source); 389LiteHashProvider.XofStream(HashAlgorithmId, source, destination); 425return LiteHashProvider.XofStreamAsync(HashAlgorithmId, source, destination, cancellationToken); 467return LiteHashProvider.XofStreamAsync(HashAlgorithmId, outputLength, source, cancellationToken);
System\Security\Cryptography\Shake256.cs (5)
37_hashProvider = LiteHashProvider.CreateXof(HashAlgorithmId); 361return LiteHashProvider.XofStream(HashAlgorithmId, outputLength, source); 389LiteHashProvider.XofStream(HashAlgorithmId, source, destination); 425return LiteHashProvider.XofStreamAsync(HashAlgorithmId, source, destination, cancellationToken); 467return LiteHashProvider.XofStreamAsync(HashAlgorithmId, outputLength, source, cancellationToken);