11 references to HashSizeInBytes
Microsoft.AspNetCore.Components (1)
PersistentState\PersistentStateValueProviderKeyResolver.cs (1)
61
Span<byte> keyHash = stackalloc byte[SHA256.
HashSizeInBytes
];
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\TypeNameHash.cs (1)
29
Span<byte> typeNameHashBytes = stackalloc byte[SHA256.
HashSizeInBytes
];
Microsoft.AspNetCore.Components.Endpoints.Tests (1)
TypeNameHashTest.cs (1)
16
private const int ExpectedHashLength = SHA256.
HashSizeInBytes
* 2;
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (2)
215
Span<byte> hashBuffer = stackalloc byte[SHA256.
HashSizeInBytes
]; // SHA256 is the largest hash produced
222
Debug.Assert(written == SHA256.
HashSizeInBytes
);
System.Security.Cryptography (6)
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (1)
84
digestLengthInBytes = SHA256.
HashSizeInBytes
;
System\Security\Cryptography\CryptographicOperations.cs (1)
1065
return SHA256.
HashSizeInBytes
;
System\Security\Cryptography\SHA256.cs (1)
23
static int IHashStatic.HashSizeInBytes =>
HashSizeInBytes
;
System\Security\Cryptography\SHA256CryptoServiceProvider.cs (1)
29
Span<byte> destination = stackalloc byte[
HashSizeInBytes
];
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (1)
278
Span<byte> hash = stackalloc byte[SHA256.
HashSizeInBytes
];
System\Security\Cryptography\X509Certificates\RSAPssX509SignatureGenerator.cs (1)
40
cbSalt = SHA256.
HashSizeInBytes
;