10 references to HashSizeInBytes
System.Security.Cryptography (10)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (1)
81digestLengthInBytes = SHA1.HashSizeInBytes;
System\Security\Cryptography\CryptographicOperations.cs (1)
1105return SHA1.HashSizeInBytes;
System\Security\Cryptography\DSACryptoServiceProvider.Windows.cs (2)
489if (rgbHash.Length != SHA1.HashSizeInBytes) 490throw new CryptographicException(SR.Format(SR.Cryptography_InvalidHashSize, "SHA1", SHA1.HashSizeInBytes));
System\Security\Cryptography\HashProviderDispenser.Windows.cs (1)
209digestSizeInBytes = SHA1.HashSizeInBytes;
System\Security\Cryptography\SHA1.cs (1)
23static int IHashStatic.HashSizeInBytes => HashSizeInBytes;
System\Security\Cryptography\SHA1CryptoServiceProvider.cs (1)
29Span<byte> destination = stackalloc byte[HashSizeInBytes];
System\Security\Cryptography\X509Certificates\X509SubjectKeyIdentifierExtension.cs (3)
172Span<byte> sha1 = stackalloc byte[SHA1.HashSizeInBytes]; 174Debug.Assert(written == SHA1.HashSizeInBytes); 180byte[] shortSha1 = sha1.Slice(SHA1.HashSizeInBytes - 8).ToArray();