/system/core/libmincrypt/ |
Android.mk | 7 LOCAL_SRC_FILES := rsa.c sha.c sha256.c 13 LOCAL_SRC_FILES := rsa.c sha.c sha256.c
|
/external/chromium_org/net/quic/crypto/ |
channel_id_nss.cc | 61 HASHContext* sha256 = HASH_Create(HASH_AlgSHA256); local 62 if (!sha256) { 65 HASH_Begin(sha256); 67 HASH_Update(sha256, reinterpret_cast<const unsigned char*>(kContextStr), 69 HASH_Update(sha256, 73 HASH_Update(sha256, 76 HASH_End(sha256, hash_buf, &hash_item.len, sizeof(hash_buf)); 77 HASH_Destroy(sha256);
|
crypto_secret_boxer.cc | 32 // TODO(rtenneti): Delete sha256 based code. Use Aes128Gcm12Encrypter to Box the 44 // Compute sha256 for nonce + plaintext. 45 scoped_ptr<crypto::SecureHash> sha256(crypto::SecureHash::Create( 46 crypto::SecureHash::SHA256)); 47 sha256->Update(data, kBoxNonceSize + plaintext.size()); 48 sha256->Finish(data + kBoxNonceSize + plaintext.size(), 54 // TODO(rtenneti): Delete sha256 based code. Use Aes128Gcm12Decrypter to Unbox 73 // Compute sha256 for nonce + plaintext. 74 scoped_ptr<crypto::SecureHash> sha256(crypto::SecureHash::Create( 75 crypto::SecureHash::SHA256)); [all...] |
channel_id_openssl.cc | 75 SHA256_CTX sha256; local 76 SHA256_Init(&sha256); 78 SHA256_Update(&sha256, kContextStr, strlen(kContextStr) + 1); 79 SHA256_Update(&sha256, kClientToServerStr, strlen(kClientToServerStr) + 1); 81 SHA256_Update(&sha256, signed_data.data(), signed_data.size()); 84 SHA256_Final(digest, &sha256);
|
/external/dropbear/libtomcrypt/src/hashes/sha2/ |
sha224.c | 34 /* init the sha256 er... sha224 state ;-) */ 44 md->sha256.curlen = 0; 45 md->sha256.length = 0; 46 md->sha256.state[0] = 0xc1059ed8UL; 47 md->sha256.state[1] = 0x367cd507UL; 48 md->sha256.state[2] = 0x3070dd17UL; 49 md->sha256.state[3] = 0xf70e5939UL; 50 md->sha256.state[4] = 0xffc00b31UL; 51 md->sha256.state[5] = 0x68581511UL; 52 md->sha256.state[6] = 0x64f98fa7UL [all...] |
sha256.c | 14 @file sha256.c 15 SHA256 by Tom St Denis 18 #ifdef SHA256 22 "sha256", 82 S[i] = md->sha256.state[i]; 186 md->sha256.state[i] = md->sha256.state[i] + S[i]; 210 md->sha256.curlen = 0; 211 md->sha256.length = 0; 212 md->sha256.state[0] = 0x6A09E667UL [all...] |
/external/chromium_org/net/quic/test_tools/ |
crypto_test_utils_nss.cc | 51 HASHContext* sha256 = HASH_Create(HASH_AlgSHA256); variable 52 if (!sha256) { 55 HASH_Begin(sha256); variable 56 HASH_Update(sha256, 60 HASH_Update(sha256, 64 HASH_Update(sha256, 67 HASH_End(sha256, hash_buf, &hash_item.len, sizeof(hash_buf)); 68 HASH_Destroy(sha256); variable
|
crypto_test_utils_openssl.cc | 111 SHA256_CTX sha256; local 112 SHA256_Init(&sha256); 113 SHA256_Update(&sha256, hostname.data(), hostname.size()); 116 SHA256_Final(digest, &sha256);
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_internal.c | 23 struct sha256_state sha256; member in union:crypto_hash::__anon28782 54 sha256_init(&ctx->u.sha256); 98 sha256_init(&ctx->u.sha256); 99 sha256_process(&ctx->u.sha256, key, key_len); 100 sha256_done(&ctx->u.sha256, tk); 112 sha256_init(&ctx->u.sha256); 113 sha256_process(&ctx->u.sha256, k_pad, sizeof(k_pad)); 142 sha256_process(&ctx->u.sha256, data, len); 191 sha256_done(&ctx->u.sha256, mac); 243 sha256_done(&ctx->u.sha256, mac) [all...] |
Makefile | 45 sha256.o \ 46 sha256-prf.o \ 47 sha256-tlsprf.o \ 48 sha256-internal.o
|
/bootable/recovery/ |
verifier_test.sh | 86 expect_succeed otasigned_sha256.zip -sha256 87 expect_succeed otasigned_f4_sha256.zip -sha256 -f4 94 expect_fail otasigned.zip -sha256 95 expect_fail otasigned_f4.zip -sha256 -f4
|
verifier.cpp | 23 #include "mincrypt/sha256.h" 188 const uint8_t* sha256 = SHA256_final(&sha256_ctx); local 194 case SHA256_DIGEST_SIZE: hash = sha256; break;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
DigestFactory.java | 33 private static Set sha256 = new HashSet(); field in class:DigestFactory 54 sha256.add("SHA256"); 55 sha256.add("SHA-256"); 56 sha256.add(NISTObjectIdentifiers.id_sha256.getId()); 79 oids.put("SHA256", NISTObjectIdentifiers.id_sha256); 115 if (sha256.contains(digestName)) 145 || (sha256.contains(digest1) && sha256.contains(digest2))
|
/external/chromium_org/net/base/ |
hash_value.cc | 41 return fingerprint.sha256.Equals(other.fingerprint.sha256); 53 } else if (value.starts_with("sha256/")) { 76 return std::string("sha256/") + base64_str; 88 return sizeof(fingerprint.sha256.data); 107 return fingerprint.sha256.data;
|
hash_value.h | 81 SHA256HashValue sha256; member in union:net::HashValue::__anon8876
|
/external/chromium_org/remoting/protocol/ |
auth_util.cc | 27 std::string sha256 = crypto::SHA256HashString(jid + " " + access_code); local 29 base::Base64Encode(sha256, &sha256_base64); 55 crypto::HMAC response(crypto::HMAC::SHA256);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_hmac.py | 90 hashlib.sha256: 'b0344c61d8db38535ca8afceaf0bf12b' 107 hashlib.sha256: '5bdcc146bf60754e6a042426089575c7' 124 hashlib.sha256: '773ea91e36800e46854db8ebd09181a7' 141 hashlib.sha256: '82558a389a443c0ea4cc819899f2083a' 159 hashlib.sha256: '60e431591ee0b67f0d8a26aacbf5b77f' 180 hashlib.sha256: '9b09ffa71b942fcb27635fbcd5b0e944' 195 self._rfc4231_test_cases(hashlib.sha256)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_hmac.py | 90 hashlib.sha256: 'b0344c61d8db38535ca8afceaf0bf12b' 107 hashlib.sha256: '5bdcc146bf60754e6a042426089575c7' 124 hashlib.sha256: '773ea91e36800e46854db8ebd09181a7' 141 hashlib.sha256: '82558a389a443c0ea4cc819899f2083a' 159 hashlib.sha256: '60e431591ee0b67f0d8a26aacbf5b77f' 180 hashlib.sha256: '9b09ffa71b942fcb27635fbcd5b0e944' 195 self._rfc4231_test_cases(hashlib.sha256)
|
/external/chromium_org/third_party/openssl/openssl/android.testssl/ |
Uss.cnf | 14 default_md = sha256
|
/external/openssl/android.testssl/ |
Uss.cnf | 14 default_md = sha256
|
/external/chromium_org/net/cert/ |
cert_verify_proc_openssl.cc | 150 HashValue sha256(HASH_VALUE_SHA256); 151 crypto::SHA256HashString(spki_bytes, sha256.data(), crypto::kSHA256Length); 152 hashes->push_back(sha256);
|
/external/chromium_org/tools/crx_id/ |
crx_id.py | 133 pub_key_hash = hashlib.sha256(pub_key).digest() 138 pub_key_hash = hashlib.sha256(pub_key).digest()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
hashlib.py | 16 md5(), sha1(), sha224(), sha256(), sha384(), and sha512() 59 __always_supported = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512') 74 elif name in ('SHA256', 'sha256', 'SHA224', 'sha224'): 78 return _sha256.sha256
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
hashlib.py | 16 md5(), sha1(), sha224(), sha256(), sha384(), and sha512() 59 __always_supported = ('md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512') 74 elif name in ('SHA256', 'sha256', 'SHA224', 'sha224'): 78 return _sha256.sha256
|
/external/chromium_org/chrome/browser/component_updater/ |
component_unpacker.cc | 141 scoped_ptr<SecureHash> sha256(SecureHash::Create(SecureHash::SHA256)); 142 sha256->Update(&(validator.public_key()[0]), validator.public_key().size()); 143 sha256->Finish(hash, arraysize(hash));
|