Home
last modified time | relevance | path

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

12345

/external/boringssl/src/crypto/sha/
DCMakeLists.txt8 sha256-x86_64.${ASM_EXT}
18 sha256-586.${ASM_EXT}
28 sha256-armv4.${ASM_EXT}
38 sha256-armv8.${ASM_EXT}
49 sha256.c
56 perlasm(sha256-x86_64.${ASM_EXT} asm/sha512-x86_64.pl sha256)
59 perlasm(sha256-586.${ASM_EXT} asm/sha256-586.pl)
62 perlasm(sha256-armv4.${ASM_EXT} asm/sha256-armv4.pl)
65 perlasm(sha256-armv8.${ASM_EXT} asm/sha512-armv8.pl sha256)
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal.c25 struct sha256_state sha256; member
62 sha256_init(&ctx->u.sha256); in crypto_hash_init()
116 sha256_init(&ctx->u.sha256); in crypto_hash_init()
117 sha256_process(&ctx->u.sha256, key, key_len); in crypto_hash_init()
118 sha256_done(&ctx->u.sha256, tk); in crypto_hash_init()
130 sha256_init(&ctx->u.sha256); in crypto_hash_init()
131 sha256_process(&ctx->u.sha256, k_pad, sizeof(k_pad)); in crypto_hash_init()
160 sha256_process(&ctx->u.sha256, data, len); in crypto_hash_update()
219 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
293 sha256_done(&ctx->u.sha256, mac); in crypto_hash_finish()
[all …]
DMakefile47 sha256.o \
48 sha256-prf.o \
49 sha256-tlsprf.o \
50 sha256-internal.o \
/external/lzma/Java/Tukaani/src/org/tukaani/xz/check/
DSHA256.java13 private final java.security.MessageDigest sha256; field in SHA256
18 sha256 = java.security.MessageDigest.getInstance("SHA-256"); in SHA256()
22 sha256.update(buf, off, len); in update()
26 byte[] buf = sha256.digest(); in finish()
27 sha256.reset(); in finish()
/external/boringssl/src/ssl/test/runner/
Dticket.go174 encrypted := make([]byte, aes.BlockSize+len(serialized)+sha256.Size)
176 macBytes := encrypted[len(encrypted)-sha256.Size:]
187 mac := hmac.New(sha256.New, c.config.SessionTicketKey[16:32])
188 mac.Write(encrypted[:len(encrypted)-sha256.Size])
195 if len(encrypted) < aes.BlockSize+sha256.Size {
200 macBytes := encrypted[len(encrypted)-sha256.Size:]
202 mac := hmac.New(sha256.New, c.config.SessionTicketKey[16:32])
203 mac.Write(encrypted[:len(encrypted)-sha256.Size])
214 ciphertext := encrypted[aes.BlockSize : len(encrypted)-sha256.Size]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/
Dutils.py80 hashes.append(hashlib.sha256(bytestring[start:end]).digest())
82 return [hashlib.sha256(b'').digest()]
100 new_hashes.append(hashlib.sha256(first + second).digest())
131 linear_hash = hashlib.sha256()
141 chunks.append(hashlib.sha256(chunk).digest())
144 chunks = [hashlib.sha256(b'').digest()]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/
DDigestFactory.java32 private static Set sha256 = new HashSet(); field in DigestFactory
55 sha256.add("SHA256");
56 sha256.add("SHA-256");
57 sha256.add(NISTObjectIdentifiers.id_sha256.getId()); in NISTObjectIdentifiers.id_sha256.getId()
132 if (sha256.contains(digestName)) in getDigest()
170 || (sha256.contains(digest1) && sha256.contains(digest2)) in isSameDigest()
/external/vboot_reference/tests/
Drun_vbutil_tests.sh54 test_vbutil_key_single 4 2048 sha256
55 test_vbutil_key_single 7 4096 sha256
201 test_vbutil_keyblock_single 7 4096 sha256 4 2048 sha256
202 test_vbutil_keyblock_single 11 8192 sha512 4 2048 sha256
203 test_vbutil_keyblock_single 11 8192 sha512 7 4096 sha256
Dgen_fuzz_test_cases.sh46 --signprivate ${TESTKEY_DIR}/key_rsa4096.sha256.vbprivk \
57 --signprivate ${TESTKEY_DIR}/key_rsa4096.sha256.vbprivk \
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/
Dtest_utils.py26 from hashlib import sha256
69 self.assertEqual(chunks[0], sha256(b'a' * 1024 * 1024).digest())
75 self.assertEqual(chunks[0], sha256(b'a' * 1024 * 1024).digest())
76 self.assertEqual(chunks[1], sha256(b'a' * 1024 * 1024).digest())
77 self.assertEqual(chunks[2], sha256(b'a' * 20).digest())
82 self.assertEqual(chunks[0], sha256(b'aaaa').digest())
/external/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/wpa_supplicant_8/hs20/server/ca/
Dsetup.sh107 …$OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out rootCA/cacert.pem -days 10957 -…
128 …$OPENSSL ca -config openssl.cnf.tmp -md sha256 -create_serial -out demoCA/cacert.pem -days 3652 -b…
144 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -keyfile demoCA/private/cakey.pem -passi…
152 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-revoked.csr -out server-revok…
162 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-client.csr -out server-client…
170 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in user.csr -out user.pem -key $PASS -d…
186 echo $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -sha256 -new -newkey rsa:2048 -nodes -out ser…
187 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -sha256 -new -newkey rsa:2048 -nodes -out server.c…
188 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server.csr -out server.pem -key $PAS…
200 $OPENSSL ca -config $PWD/my-openssl.cnf -gencrl -md sha256 -out demoCA/crl/crl.pem -passin pass:$PA…
/external/vboot_reference/firmware/2lib/
D2sha_utility.c97 vb2_sha256_init(&dc->sha256); in vb2_digest_init()
122 vb2_sha256_update(&dc->sha256, buf, size); in vb2_digest_extend()
150 vb2_sha256_finalize(&dc->sha256, digest); in vb2_digest_finalize()
/external/autotest/client/site_tests/security_OpenSSLBlacklist/src/
Dsha256_blacklist2 # openssl x509 -in src/cert.pem -fingerprint -sha256 -noout \
4 sha256 ade097576a5176f8cbc1fdac7ef796fcaa8cabe0714fd114eb66de215b51c40b
/external/vboot_reference/tests/futility/
Dtest_create.sh17 for hash in sha1 sha256 sha512; do
31 for hash in sha1 sha256 sha512; do
/external/boringssl/src/crypto/digest/
Ddigest_test.cc43 static const MD sha256 = { "SHA256", &EVP_sha256, &SHA256 }; variable
106 { sha256, "abc", 1,
108 { sha256,
/external/libchrome/crypto/
Dsignature_creator_unittest.cc116 std::string sha256 = crypto::SHA256HashString(data); in TEST() local
121 reinterpret_cast<const uint8_t*>(sha256.c_str()), sha256.size(), in TEST()
/external/guava/guava-tests/test/com/google/common/hash/
DHashingTest.java65 HashTestUtils.checkAvalanche(Hashing.sha256(), 100, 0.4); in testSha256()
66 HashTestUtils.checkNo2BitCharacteristics(Hashing.sha256()); in testSha256()
67 HashTestUtils.checkNoFunnels(Hashing.sha256()); in testSha256()
68 HashTestUtils.assertInvariants(Hashing.sha256()); in testSha256()
69 assertEquals("Hashing.sha256()", Hashing.sha256().toString()); in testSha256()
396 .put(Hashing.sha256(), EMPTY_STRING,
398 .put(Hashing.sha256(), TQBFJOTLD,
400 .put(Hashing.sha256(), TQBFJOTLDP,
DMessageDigestHashFunctionTest.java49 .put("SHA-256", Hashing.sha256())
92 assertEquals("Hashing.sha256()", Hashing.sha256().toString()); in testToString()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/
Dauth.py48 from hashlib import sha256 as sha256 unknown
51 sha256 = None variable
77 if sha256:
79 digestmod=sha256)
91 digestmod = sha256
282 hash_value = sha256(string_to_sign.encode('utf-8')).digest()
313 sig = hmac.new(key, msg.encode('utf-8'), sha256).hexdigest()
315 sig = hmac.new(key, msg.encode('utf-8'), sha256).digest()
404 return boto.utils.compute_hash(body, hash_algorithm=sha256)[0]
407 return sha256(body).hexdigest()
[all …]
/external/scrypt/
Dscrypt.config21 lib/crypto/sha256.c \
22 lib/crypto/sha256.h \
/external/boringssl/src/crypto/cipher/
De_aes.c1577 static void hmac_update_uint64(SHA256_CTX *sha256, uint64_t value) { in hmac_update_uint64() argument
1585 SHA256_Update(sha256, bytes, sizeof(bytes)); in hmac_update_uint64()
1594 SHA256_CTX sha256; in hmac_calculate() local
1595 memcpy(&sha256, inner_init_state, sizeof(sha256)); in hmac_calculate()
1596 hmac_update_uint64(&sha256, ad_len); in hmac_calculate()
1597 hmac_update_uint64(&sha256, ciphertext_len); in hmac_calculate()
1598 SHA256_Update(&sha256, nonce, EVP_AEAD_AES_CTR_HMAC_SHA256_NONCE_LEN); in hmac_calculate()
1599 SHA256_Update(&sha256, ad, ad_len); in hmac_calculate()
1609 SHA256_Update(&sha256, padding, num_padding); in hmac_calculate()
1611 SHA256_Update(&sha256, ciphertext, ciphertext_len); in hmac_calculate()
[all …]
/external/boringssl/src/crypto/cipher/test/
Dmake_all_legacy_aead_tests.sh10 go run make_legacy_aead_tests.go -cipher aes128 -mac sha256 > aes_128_cbc_sha256_tls_tests.txt
14 go run make_legacy_aead_tests.go -cipher aes256 -mac sha256 > aes_256_cbc_sha256_tls_tests.txt
/external/autotest/client/site_tests/autoupdate_CannedOmahaUpdate/
Dautoupdate_CannedOmahaUpdate.py96 def set_image_params(self, image_url, image_size, sha256, argument
105 self._sha256 = sha256
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome/
Dcrx_id.py123 pub_key_hash = hashlib.sha256(pub_key).digest()
128 pub_key_hash = hashlib.sha256(pub_key).digest()

12345