1 override of HashSize
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InfoCardKeyedHashAlgorithm.cs (1)
85public override int HashSize
19 references to HashSize
mscorlib (9)
system\security\cryptography\dsacryptoserviceprovider.cs (4)
310if (rgbHash.Length != _sha1.HashSize / 8) 311throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidHashSize", "SHA1", _sha1.HashSize / 8)); 332if (rgbHash.Length != _sha1.HashSize / 8) 333throw new CryptographicException(Environment.GetResourceString("Cryptography_InvalidHashSize", "SHA1", _sha1.HashSize / 8));
system\security\cryptography\passwordderivebytes.cs (1)
267cbHash = _hash.HashSize / 8;
system\security\cryptography\rfc2898derivebytes.cs (2)
79m_blockSize = hmac.HashSize >> 3; 115m_blockSize = hmac.HashSize >> 3;
system\security\cryptography\utils.cs (2)
810int cbHash = hash.HashSize / 8; 871int cbHash = hash.HashSize / 8;
System.IdentityModel (3)
System\IdentityModel\CryptoHelper.cs (1)
113byte[] b = new byte[kha.HashSize / 8 + a.Length]; // Buffer for A(i) + seed
System\IdentityModel\Psha1DerivedKeyGenerator.cs (1)
67this.buffer = DiagnosticUtility.Utility.AllocateByteArray(checked(this.hmac.HashSize / 8 + this.seed.Length));
System\IdentityModel\RsaEncryptionCookieTransform.cs (1)
167int hashSizeInBytes = hash.HashSize / 8;
System.Security (5)
system\security\cryptography\xml\signedxml.cs (5)
401signatureLength = hash.HashSize; 405if (signatureLength < 0 || signatureLength > hash.HashSize) 616return actualSignatureSize != hmac.HashSize; 1003signatureLength = macAlg.HashSize; 1008if (signatureLength < 0 || signatureLength > macAlg.HashSize)
System.Web (2)
Configuration\MachineKeySection.cs (1)
1125_HashSize = RoundupNumBitsToNumBytes(alg.HashSize);
Security\Cryptography\NetFXCryptoService.cs (1)
136int signatureByteCount = validationAlgorithm.HashSize / 8;