/external/chromium/crypto/ |
D | sha2_unittest.cc | 22 uint8 output1[crypto::SHA256_LENGTH]; in TEST() 24 for (size_t i = 0; i < crypto::SHA256_LENGTH; i++) in TEST() 48 ASSERT_EQ(crypto::SHA256_LENGTH, output1.size()); in TEST() 49 for (size_t i = 0; i < crypto::SHA256_LENGTH; i++) in TEST() 66 uint8 output2[crypto::SHA256_LENGTH]; in TEST() 68 for (size_t i = 0; i < crypto::SHA256_LENGTH; i++) in TEST() 90 uint8 output3[crypto::SHA256_LENGTH]; in TEST() 92 for (size_t i = 0; i < crypto::SHA256_LENGTH; i++) in TEST()
|
D | hmac_win.cc | 42 SHA256_End(&ctx, key0, NULL, SHA256_LENGTH); in ComputeHMACSHA256() 43 memset(key0 + SHA256_LENGTH, 0, SHA256_BLOCK_SIZE - SHA256_LENGTH); in ComputeHMACSHA256() 50 unsigned char inner_hash[SHA256_LENGTH]; in ComputeHMACSHA256() 60 SHA256_End(&ctx, inner_hash, NULL, SHA256_LENGTH); in ComputeHMACSHA256() 69 SHA256_Update(&ctx, inner_hash, SHA256_LENGTH); in ComputeHMACSHA256() 106 if (key_length < SHA256_LENGTH / 2) in Init()
|
D | secure_hash_unittest.cc | 24 uint8 output3[crypto::SHA256_LENGTH]; in TEST() 32 for (size_t i = 0; i < crypto::SHA256_LENGTH; i++) in TEST()
|
D | sha2.h | 18 SHA256_LENGTH = 32 // length in bytes of a SHA-256 hash enumerator
|
D | sha2.cc | 20 std::string output(SHA256_LENGTH, 0); in SHA256HashString()
|
/external/chromium_org/crypto/ |
D | hmac_win.cc | 55 SHA256_End(&ctx, key0, NULL, SHA256_LENGTH); in ComputeHMACSHA256() 56 memset(key0 + SHA256_LENGTH, 0, SHA256_BLOCK_SIZE - SHA256_LENGTH); in ComputeHMACSHA256() 64 unsigned char inner_hash[SHA256_LENGTH]; in ComputeHMACSHA256() 74 SHA256_End(&ctx, inner_hash, NULL, SHA256_LENGTH); in ComputeHMACSHA256() 83 SHA256_Update(&ctx, inner_hash, SHA256_LENGTH); in ComputeHMACSHA256()
|
/external/chromium/chrome/browser/extensions/ |
D | convert_user_script.cc | 75 char raw[crypto::SHA256_LENGTH] = {0}; in ConvertUserScriptToExtension() 77 crypto::SHA256HashString(script_name, raw, crypto::SHA256_LENGTH); in ConvertUserScriptToExtension() 78 base::Base64Encode(std::string(raw, crypto::SHA256_LENGTH), &key); in ConvertUserScriptToExtension()
|
D | convert_web_app.cc | 49 char raw[crypto::SHA256_LENGTH] = {0}; in GenerateKey() 53 crypto::SHA256_LENGTH); in GenerateKey() 54 base::Base64Encode(std::string(raw, crypto::SHA256_LENGTH), &key); in GenerateKey()
|
D | extension_updater.cc | 790 char sha256_hash_value[crypto::SHA256_LENGTH]; in ProcessBlacklist() 791 crypto::SHA256HashString(data, sha256_hash_value, crypto::SHA256_LENGTH); in ProcessBlacklist() 793 crypto::SHA256_LENGTH); in ProcessBlacklist()
|
/external/chromium_org/crypto/third_party/nss/ |
D | chromium-blapit.h | 65 #define SHA256_LENGTH 32 /* bytes */ macro
|
D | sha512.cc | 468 padLen = PR_MIN(SHA256_LENGTH, maxDigestLen); in SHA256_End() 485 SHA256_End(&ctx, dest, &outLen, SHA256_LENGTH); 1313 unsigned char outBuf[SHA256_LENGTH]; in test256()
|
/external/chromium/crypto/third_party/nss/ |
D | blapit.h | 65 #define SHA256_LENGTH 32 /* bytes */ macro
|
D | sha512.cc | 468 padLen = PR_MIN(SHA256_LENGTH, maxDigestLen); in SHA256_End() 485 SHA256_End(&ctx, dest, &outLen, SHA256_LENGTH); 1313 unsigned char outBuf[SHA256_LENGTH]; in test256()
|
/external/chromium_org/net/quic/crypto/ |
D | channel_id_nss.cc | 58 unsigned char hash_buf[SHA256_LENGTH]; in VerifyRaw()
|
/external/chromium_org/net/quic/test_tools/ |
D | crypto_test_utils_nss.cc | 48 unsigned char hash_buf[SHA256_LENGTH]; in Sign()
|
/external/chromium/chrome/browser/safe_browsing/ |
D | safe_browsing_util.cc | 523 DCHECK_EQ(static_cast<size_t>(crypto::SHA256_LENGTH), hash_in.size()); in StringToSBFullHash() 524 memcpy(hash_out->full_hash, hash_in.data(), crypto::SHA256_LENGTH); in StringToSBFullHash() 528 DCHECK_EQ(static_cast<size_t>(crypto::SHA256_LENGTH), sizeof(hash.full_hash)); in SBFullHashToString()
|
/external/chromium_org/net/third_party/nss/ssl/ |
D | sslsnce.c | 129 /* 32 */ PRUint8 srvNameHash[SHA256_LENGTH]; /* SHA256 name hash */ 172 PRUint8 nameHash[SHA256_LENGTH]; /* 32 */ 442 PORT_Memcpy(sce->u.ssl3.srvNameHash, snce.nameHash, SHA256_LENGTH); in CacheSrvName() 806 SHA256_LENGTH)) { in ServerSessionIDLookup() 1886 SHA256_LENGTH, pwArg); in GenerateTicketKeys() 2029 PRUint8 ticketMacKey[SHA256_LENGTH], ticketEncKey[AES_256_KEY_LENGTH]; in ssl_GetSessionTicketKeys() 2063 SHA256_LENGTH) != SECSuccess) in ssl_GetSessionTicketKeys() 2080 PORT_Memcpy(macKey, ticketMacKeyPtr, SHA256_LENGTH); in ssl_GetSessionTicketKeys()
|
/external/chromium/net/base/ |
D | transport_security_state.cc | 34 char hashed[crypto::SHA256_LENGTH]; in HashHost() 282 out.size() != crypto::SHA256_LENGTH) { in ExternalStringToHashedDomain()
|
D | dnssec_chain_verifier.cc | 519 uint8 temp2[crypto::SHA256_LENGTH]; in DigestKey()
|
/external/chromium/net/socket/ |
D | dns_cert_provenance_checker.cc | 297 char key_data[SHA256_LENGTH]; in BuildEncryptedReport()
|
D | ssl_client_socket_nss.cc | 346 hash_length = SHA256_LENGTH; in VerifyTXTRecords() 362 uint8 calculated_hash[SHA256_LENGTH]; // SHA256 is the largest. in VerifyTXTRecords()
|
/external/chromium_org/net/third_party/nss/patches/ |
D | channelid2.patch | 56 unsigned char digest[SHA256_LENGTH];
|
D | channelid.patch | 113 + unsigned char digest[SHA256_LENGTH];
|
/external/chromium/chrome/common/net/ |
D | x509_certificate_model_nss.cc | 300 return HashCert(cert_handle, HASH_AlgSHA256, SHA256_LENGTH); in HashCertSHA256()
|
/external/chromium_org/chrome/common/net/ |
D | x509_certificate_model_nss.cc | 304 return HashCert(cert_handle, HASH_AlgSHA256, SHA256_LENGTH); in HashCertSHA256()
|