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)
231
return
LiteHashProvider
.HashStream(hashAlgorithm.Name, hashSizeInBytes, source);
269
int written =
LiteHashProvider
.HashStream(hashAlgorithm.Name, source, destination);
319
return
LiteHashProvider
.HashStreamAsync(
366
return
LiteHashProvider
.HashStreamAsync(hashAlgorithm.Name, source, cancellationToken);
580
return
LiteHashProvider
.HmacStream(hashAlgorithm.Name, hashSizeInBytes, key, source);
619
return
LiteHashProvider
.HmacStream(hashAlgorithm.Name, key, source, destination);
711
return
LiteHashProvider
.HmacStreamAsync(hashAlgorithm.Name, key.Span, source, destination, cancellationToken);
756
return
LiteHashProvider
.HmacStreamAsync(hashAlgorithm.Name, key.Span, source, cancellationToken);
905
int written =
LiteHashProvider
.HmacStream(hashAlgorithm.Name, key, source, macBuffer);
1004
int 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)
76
return
LiteHashProvider
.HashStream(THash.HashAlgorithmName, source, destination);
87
return
LiteHashProvider
.HashStream(THash.HashAlgorithmName, THash.HashSizeInBytes, source);
98
return
LiteHashProvider
.HashStreamAsync(THash.HashAlgorithmName, source, cancellationToken);
115
return
LiteHashProvider
.HashStreamAsync(
System\Security\Cryptography\HMACStatic.cs (6)
96
return
LiteHashProvider
.HmacStream(THMAC.HashAlgorithmName, key, source, destination);
107
return
LiteHashProvider
.HmacStream(THMAC.HashAlgorithmName, THMAC.HashSizeInBytes, key, source);
128
return
LiteHashProvider
.HmacStreamAsync(THMAC.HashAlgorithmName, key.Span, source, cancellationToken);
153
return
LiteHashProvider
.HmacStreamAsync(
182
int written =
LiteHashProvider
.HmacStream(THMAC.HashAlgorithmName, key, source, mac);
226
int written = await
LiteHashProvider
.HmacStreamAsync(
System\Security\Cryptography\Kmac128.cs (6)
399
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false);
435
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false);
466
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: false, destination);
513
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: false, outputLength, customizationString, cancellationToken);
559
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken);
599
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\Kmac256.cs (6)
399
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: false);
435
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: false);
466
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, source, xof: false, destination);
513
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key, source, xof: false, outputLength, customizationString, cancellationToken);
559
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken);
599
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\KmacStatic.cs (2)
81
LiteHashProvider
.KmacStream(
128
await
LiteHashProvider
.KmacStreamAsync(
System\Security\Cryptography\KmacXof128.cs (6)
399
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true);
435
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true);
466
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: true, destination);
513
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: true, outputLength, customizationString, cancellationToken);
559
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken);
599
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\KmacXof256.cs (6)
399
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: true);
435
return
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, outputLength, source, xof: true);
466
LiteHashProvider
.KmacStream(HashAlgorithmNames.KMAC256, key, customizationString, source, xof: true, destination);
513
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key, source, xof: true, outputLength, customizationString, cancellationToken);
559
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken);
599
return
LiteHashProvider
.KmacStreamAsync(HashAlgorithmNames.KMAC256, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\Shake128.cs (5)
37
_hashProvider =
LiteHashProvider
.CreateXof(HashAlgorithmId);
361
return
LiteHashProvider
.XofStream(HashAlgorithmId, outputLength, source);
389
LiteHashProvider
.XofStream(HashAlgorithmId, source, destination);
425
return
LiteHashProvider
.XofStreamAsync(HashAlgorithmId, source, destination, cancellationToken);
467
return
LiteHashProvider
.XofStreamAsync(HashAlgorithmId, outputLength, source, cancellationToken);
System\Security\Cryptography\Shake256.cs (5)
37
_hashProvider =
LiteHashProvider
.CreateXof(HashAlgorithmId);
361
return
LiteHashProvider
.XofStream(HashAlgorithmId, outputLength, source);
389
LiteHashProvider
.XofStream(HashAlgorithmId, source, destination);
425
return
LiteHashProvider
.XofStreamAsync(HashAlgorithmId, source, destination, cancellationToken);
467
return
LiteHashProvider
.XofStreamAsync(HashAlgorithmId, outputLength, source, cancellationToken);