Home
last modified time | relevance | path

Searched refs:sha256 (Results 1 – 25 of 104) sorted by relevance

12345

/external/chromium_org/third_party/boringssl/src/crypto/sha/
DCMakeLists.txt8 sha256-x86_64.${ASM_EXT}
18 sha256-586.${ASM_EXT}
28 sha256-armv4.${ASM_EXT}
39 sha256.c
46 perlasm(sha256-x86_64.${ASM_EXT} asm/sha512-x86_64.pl sha256)
49 perlasm(sha256-586.${ASM_EXT} asm/sha256-586.pl)
52 perlasm(sha256-armv4.${ASM_EXT} asm/sha256-armv4.pl)
/external/chromium_org/net/quic/crypto/
Dchannel_id_nss.cc61 HASHContext* sha256 = HASH_Create(HASH_AlgSHA256); in VerifyRaw() local
62 if (!sha256) { in VerifyRaw()
65 HASH_Begin(sha256); in VerifyRaw()
67 HASH_Update(sha256, reinterpret_cast<const unsigned char*>(kContextStr), in VerifyRaw()
69 HASH_Update(sha256, in VerifyRaw()
73 HASH_Update(sha256, in VerifyRaw()
76 HASH_End(sha256, hash_buf, &hash_item.len, sizeof(hash_buf)); in VerifyRaw()
77 HASH_Destroy(sha256); in VerifyRaw()
Dchannel_id_openssl.cc75 SHA256_CTX sha256; in VerifyRaw() local
76 SHA256_Init(&sha256); in VerifyRaw()
78 SHA256_Update(&sha256, kContextStr, strlen(kContextStr) + 1); in VerifyRaw()
79 SHA256_Update(&sha256, kClientToServerStr, strlen(kClientToServerStr) + 1); in VerifyRaw()
81 SHA256_Update(&sha256, signed_data.data(), signed_data.size()); in VerifyRaw()
84 SHA256_Final(digest, &sha256); in VerifyRaw()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal.c23 struct sha256_state sha256; member
54 sha256_init(&ctx->u.sha256); in crypto_hash_init()
98 sha256_init(&ctx->u.sha256); in crypto_hash_init()
99 sha256_process(&ctx->u.sha256, key, key_len); in crypto_hash_init()
100 sha256_done(&ctx->u.sha256, tk); in crypto_hash_init()
112 sha256_init(&ctx->u.sha256); in crypto_hash_init()
113 sha256_process(&ctx->u.sha256, k_pad, sizeof(k_pad)); in crypto_hash_init()
142 sha256_process(&ctx->u.sha256, data, len); in crypto_hash_update()
191 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
243 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
[all …]
DMakefile46 sha256.o \
47 sha256-prf.o \
48 sha256-tlsprf.o \
49 sha256-internal.o
/external/chromium_org/net/data/ssl/scripts/
Dgenerate-test-certs.sh19 touch out/2048-sha256-root-index.txt
22 try openssl genrsa -out out/2048-sha256-root.key 2048
28 -key out/2048-sha256-root.key \
29 -out out/2048-sha256-root.req \
35 -in out/2048-sha256-root.req \
36 -out out/2048-sha256-root.pem \
37 -signkey out/2048-sha256-root.key \
110 -sha256 \
111 -out sha256.pem
Dpolicy.cnf11 algo = sha256
20 default_md = sha256
52 default_md = sha256
Daia-test.cnf12 algo = sha256
21 default_md = sha256
47 default_md = sha256
Dclient-certs.cnf16 default_md = sha256
34 default_md = sha256
Dca.cnf4 ALGO = sha256
27 default_md = sha256
90 default_md = sha256
/external/chromium_org/third_party/boringssl/src/ssl/test/runner/
Dticket.go156 encrypted := make([]byte, aes.BlockSize+len(serialized)+sha256.Size)
158 macBytes := encrypted[len(encrypted)-sha256.Size:]
169 mac := hmac.New(sha256.New, c.config.SessionTicketKey[16:32])
170 mac.Write(encrypted[:len(encrypted)-sha256.Size])
177 if len(encrypted) < aes.BlockSize+sha256.Size {
182 macBytes := encrypted[len(encrypted)-sha256.Size:]
184 mac := hmac.New(sha256.New, c.config.SessionTicketKey[16:32])
185 mac.Write(encrypted[:len(encrypted)-sha256.Size])
196 ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java31 private static Set sha256 = new HashSet(); field in DigestFactory
50 sha256.add("SHA256");
51 sha256.add("SHA-256");
52 sha256.add(NISTObjectIdentifiers.id_sha256.getId()); in NISTObjectIdentifiers.id_sha256.getId()
109 if (sha256.contains(digestName)) in getDigest()
137 || (sha256.contains(digest1) && sha256.contains(digest2)) in isSameDigest()
/external/wpa_supplicant_8/hs20/server/ca/
Dsetup.sh28 …$OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out rootCA/cacert.pem -days 10957 -…
47 …$OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out demoCA/cacert.pem -days 3652 -b…
61 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -keyfile demoCA/private/cakey.pem -passi…
69 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-revoked.csr -out server-revok…
78 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-client.csr -out server-client…
86 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in user.csr -out user.pem -key $PASS -d…
102 echo $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -sha256 -new -newkey rsa:2048 -nodes -out ser…
103 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -sha256 -new -newkey rsa:2048 -nodes -out server.c…
104 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server.csr -out server.pem -key $PAS…
116 $OPENSSL ca -config $PWD/openssl.cnf -gencrl -md sha256 -out demoCA/crl/crl.pem -passin pass:$PASS
/external/chromium_org/third_party/boringssl/src/crypto/obj/
Dobj_xref.txt10 sha256WithRSAEncryption sha256 rsaEncryption
34 ecdsa_with_SHA256 sha256 X9_62_id_ecPublicKey
41 dsa_with_SHA256 sha256 dsa
50 dhSinglePass_stdDH_sha256kdf_scheme sha256 dh_std_kdf
56 dhSinglePass_cofactorDH_sha256kdf_scheme sha256 dh_cofactor_kdf
/external/chromium_org/chrome/app/test_data/
Dcert_maker.bat9 -a sha256 -cy authority -sky signature ^
14 -a sha256 -cy authority -sky signature ^
20 -a sha256 -cy authority -sky signature ^
29 makecert -pe -n "CN=Google Inc, OU=Chrome Testers" -a sha256 -cy end ^
40 makecert -pe -n "CN=NotGoogle Inc, OU=Chrome Testers" -a sha256 -cy end ^
51 makecert -pe -n "CN=Google Inc, OU=Other Chrome Testers" -a sha256 -cy end ^
63 makecert -pe -n "CN=Google Inc, OU=Chrome Testers" -a sha256 -cy end ^
/external/chromium_org/net/base/
Dhash_value.cc41 return fingerprint.sha256.Equals(other.fingerprint.sha256); in Equals()
88 return sizeof(fingerprint.sha256.data); in size()
107 return fingerprint.sha256.data; in data()
/external/openssl/crypto/objects/
Dobj_xref.txt10 sha256WithRSAEncryption sha256 rsaEncryption
34 ecdsa_with_SHA256 sha256 X9_62_id_ecPublicKey
41 dsa_with_SHA256 sha256 dsa
/external/chromium_org/net/quic/test_tools/
Dcrypto_test_utils_openssl.cc122 SHA256_CTX sha256; in HostnameToKey() local
123 SHA256_Init(&sha256); in HostnameToKey()
124 SHA256_Update(&sha256, hostname.data(), hostname.size()); in HostnameToKey()
127 SHA256_Final(digest, &sha256); in HostnameToKey()
/external/chromium_org/net/data/url_request_unittest/
Dhsts-and-hpkp-headers2.html.mock-http-headers7 Public-Key-Pins: max-age=50000; pin-sha1="K9e3/nFL5j90GuVJOJBv6WXpvcs="; pin-sha256="2zCMVDKgnKec07…
8 Public-Key-Pins: max-age=50000; pin-sha1="K9e3/nFL5j90GuVJOJBv6WXpvcs="; pin-sha256="2zCMVDKgnKec07…
/external/chromium_org/chrome/browser/extensions/activity_log/
Dgenerate_ad_network_hashes.py16 from hashlib import sha256
75 hashes = ['"%s"' % sha256(line.strip()).hexdigest()[:16].upper()
/external/chromium_org/remoting/protocol/
Dauth_util.cc27 std::string sha256 = crypto::SHA256HashString(jid + " " + access_code); in GenerateSupportAuthToken() local
29 base::Base64Encode(sha256, &sha256_base64); in GenerateSupportAuthToken()
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dfake_cws.cc53 const std::string sha256 = crypto::SHA256HashString(crx_content); in SetUpdateCrx() local
54 const std::string sha256_hex = base::HexEncode(sha256.c_str(), sha256.size()); in SetUpdateCrx()
/external/chromium_org/net/cert/
Dcert_verify_proc_android.cc117 HashValue sha256(HASH_VALUE_SHA256); in VerifyFromAndroidTrustManager() local
118 crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); in VerifyFromAndroidTrustManager()
119 verify_result->public_key_hashes.push_back(sha256); in VerifyFromAndroidTrustManager()
/external/chromium_org/crypto/
Dsignature_creator_unittest.cc120 std::string sha256 = crypto::SHA256HashString(data); in TEST() local
126 reinterpret_cast<const uint8*>(sha256.c_str()), in TEST()
127 sha256.size(), in TEST()
/external/chromium_org/mojo/tools/pylib/
Dtransitive_hash.py9 from hashlib import sha256
63 return sha256('|'.join(sorted(hashes))).hexdigest()

12345