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