16 references to HashSizeInBytes
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultClaimUidExtractor.cs (1)
116Debug.Assert(destination.Length >= SHA256.HashSizeInBytes);
Microsoft.AspNetCore.Components (1)
PersistentState\PersistentStateValueProviderKeyResolver.cs (1)
61Span<byte> keyHash = stackalloc byte[SHA256.HashSizeInBytes];
Microsoft.AspNetCore.Components.Endpoints (1)
Rendering\TypeNameHash.cs (1)
29Span<byte> typeNameHashBytes = stackalloc byte[SHA256.HashSizeInBytes];
Microsoft.Build (1)
Evaluation\IntrinsicFunctions.cs (1)
461Span<byte> hash = stackalloc byte[SHA256.HashSizeInBytes];
Microsoft.Build.Framework (1)
BackEnd\ServerNodeHandshake.cs (1)
46Span<byte> bytes = stackalloc byte[SHA256.HashSizeInBytes];
Microsoft.NET.Build.Containers (3)
DigestUtils.cs (1)
98Span<byte> hash = stackalloc byte[SHA256.HashSizeInBytes];
Layer.cs (2)
58Span<byte> hash = stackalloc byte[SHA256.HashSizeInBytes]; 59Span<byte> uncompressedHash = stackalloc byte[SHA256.HashSizeInBytes];
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.Digest.cs (2)
215Span<byte> hashBuffer = stackalloc byte[SHA256.HashSizeInBytes]; // SHA256 is the largest hash produced 222Debug.Assert(written == SHA256.HashSizeInBytes);
System.Security.Cryptography (6)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (1)
84digestLengthInBytes = SHA256.HashSizeInBytes;
System\Security\Cryptography\CryptographicOperations.cs (1)
1103return SHA256.HashSizeInBytes;
System\Security\Cryptography\HashProviderDispenser.Windows.cs (1)
216digestSizeInBytes = SHA256.HashSizeInBytes;
System\Security\Cryptography\SHA256.cs (1)
23static int IHashStatic.HashSizeInBytes => HashSizeInBytes;
System\Security\Cryptography\SHA256CryptoServiceProvider.cs (1)
29Span<byte> destination = stackalloc byte[HashSizeInBytes];
System\Security\Cryptography\X509Certificates\RSAPssX509SignatureGenerator.cs (1)
40cbSalt = SHA256.HashSizeInBytes;