System\Security\Cryptography\CryptographicOperations.cs (8)
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);
System\Security\Cryptography\Kmac128.cs (6)
316return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false);
352return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: false);
383LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: false, destination);
430return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: false, outputLength, customizationString, cancellationToken);
476return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, outputLength, customizationString.Span, cancellationToken);
516return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: false, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\Kmac256.cs (6)
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);
System\Security\Cryptography\KmacXof128.cs (6)
316return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true);
352return LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, outputLength, source, xof: true);
383LiteHashProvider.KmacStream(HashAlgorithmNames.KMAC128, key, customizationString, source, xof: true, destination);
430return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key, source, xof: true, outputLength, customizationString, cancellationToken);
476return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, outputLength, customizationString.Span, cancellationToken);
516return LiteHashProvider.KmacStreamAsync(HashAlgorithmNames.KMAC128, key.Span, source, xof: true, destination, customizationString.Span, cancellationToken);
System\Security\Cryptography\KmacXof256.cs (6)
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);
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);