Home
last modified time | relevance | path

Searched refs:sha1_size (Results 1 – 4 of 4) sorted by relevance

/external/chromium/chrome/common/net/
Dx509_certificate_model_openssl.cc207 unsigned int sha1_size = sizeof(sha1_data); in HashCertSHA1() local
208 int ret = X509_digest(cert_handle, EVP_sha1(), sha1_data, &sha1_size); in HashCertSHA1()
210 CHECK_EQ(sha1_size, sizeof(sha1_data)); in HashCertSHA1()
211 return ProcessRawBytes(sha1_data, sha1_size); in HashCertSHA1()
/external/chromium/crypto/
Dhmac_win.cc193 DWORD sha1_size = digest_length; in Sign() local
194 return !!CryptGetHashParam(hash, HP_HASHVAL, digest, &sha1_size, 0); in Sign()
/external/chromium/net/base/
Dx509_certificate_openssl.cc339 unsigned int sha1_size = static_cast<unsigned int>(sizeof(sha1.data)); in CalculateFingerprint() local
340 int ret = X509_digest(cert, EVP_sha1(), sha1.data, &sha1_size); in CalculateFingerprint()
342 CHECK_EQ(sha1_size, sizeof(sha1.data)); in CalculateFingerprint()
Dx509_certificate_win.cc1004 DWORD sha1_size = sizeof(sha1.data); in CalculateFingerprint() local
1006 cert->cbCertEncoded, sha1.data, &sha1_size); in CalculateFingerprint()
1007 DCHECK(rv && sha1_size == sizeof(sha1.data)); in CalculateFingerprint()