/external/boringssl/src/crypto/sha/ |
D | CMakeLists.txt | 7 sha1-x86_64.${ASM_EXT} 17 sha1-586.${ASM_EXT} 27 sha1-armv4-large.${ASM_EXT} 37 sha1-armv8.${ASM_EXT} 48 sha1.c 55 perlasm(sha1-x86_64.${ASM_EXT} asm/sha1-x86_64.pl) 58 perlasm(sha1-586.${ASM_EXT} asm/sha1-586.pl) 61 perlasm(sha1-armv4-large.${ASM_EXT} asm/sha1-armv4-large.pl) 64 perlasm(sha1-armv8.${ASM_EXT} asm/sha1-armv8.pl)
|
/external/guava/guava-tests/test/com/google/common/hash/ |
D | MessageDigestHashFunctionTest.java | 44 .put("SHA", Hashing.sha1()) // Not the official name, but still works 45 .put("SHA1", Hashing.sha1()) // Not the official name, but still works 46 .put("sHa-1", Hashing.sha1()) // Not the official name, but still works 47 .put("SHA-1", Hashing.sha1()) 61 Hasher sha1 = Hashing.sha1().newHasher(); in testPutAfterHash() local 64 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) in testPutAfterHash() 68 sha1.putInt(42); in testPutAfterHash() 75 Hasher sha1 = Hashing.sha1().newHasher(); in testHashTwice() local 78 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) in testHashTwice() 82 sha1.hash(); in testHashTwice() [all …]
|
/external/boringssl/src/crypto/cipher/test/ |
D | make_all_legacy_aead_tests.sh | 6 go run make_legacy_aead_tests.go -cipher rc4 -mac sha1 > rc4_sha1_tls_tests.txt 8 go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 > aes_128_cbc_sha1_tls_tests.txt 9 go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 -implicit-iv > aes_128_cbc_sha1_tls_impli… 12 go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 > aes_256_cbc_sha1_tls_tests.txt 13 go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 -implicit-iv > aes_256_cbc_sha1_tls_impli… 17 go run make_legacy_aead_tests.go -cipher 3des -mac sha1 > des_ede3_cbc_sha1_tls_tests.txt 18 go run make_legacy_aead_tests.go -cipher 3des -mac sha1 -implicit-iv > des_ede3_cbc_sha1_tls_implic… 21 go run make_legacy_aead_tests.go -cipher rc4 -mac sha1 -ssl3 > rc4_sha1_ssl3_tests.txt 22 go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 -ssl3 > aes_128_cbc_sha1_ssl3_tests.txt 23 go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 -ssl3 > aes_256_cbc_sha1_ssl3_tests.txt [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_internal.c | 21 struct SHA1Context sha1; member 50 SHA1Init(&ctx->u.sha1); in crypto_hash_init() 78 SHA1Init(&ctx->u.sha1); in crypto_hash_init() 79 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init() 80 SHA1Final(tk, &ctx->u.sha1); in crypto_hash_init() 92 SHA1Init(&ctx->u.sha1); in crypto_hash_init() 93 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init() 137 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update() 181 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish() 222 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish() [all …]
|
D | Makefile | 41 sha1.o \ 42 sha1-internal.o \ 43 sha1-pbkdf2.o \ 44 sha1-prf.o \ 45 sha1-tlsprf.o \ 46 sha1-tprf.o \
|
/external/boringssl/src/ssl/test/runner/ |
D | prf.go | 52 hashSHA1 := sha1.New 83 hashSHA1 := sha1.New() 218 return finishedHash{sha1.New(), sha1.New(), md5.New(), md5.New(), []byte{}, version, prf10} 260 out := make([]byte, 0, md5.Size+sha1.Size) 268 func finishedSum30(md5, sha1 hash.Hash, masterSecret []byte, magic []byte) []byte { 280 sha1.Write(magic) 281 sha1.Write(masterSecret) 282 sha1.Write(ssl30Pad1[:40]) 283 sha1Digest := sha1.Sum(nil) 285 sha1.Reset() [all …]
|
/external/boringssl/src/crypto/obj/ |
D | obj_xref.txt | 8 sha1WithRSAEncryption sha1 rsaEncryption 25 sha1WithRSA sha1 rsa 28 dsaWithSHA1 sha1 dsa 30 dsaWithSHA1_2 sha1 dsa_2 32 ecdsa_with_SHA1 sha1 X9_62_id_ecPublicKey 48 dhSinglePass_stdDH_sha1kdf_scheme sha1 dh_std_kdf 54 dhSinglePass_cofactorDH_sha1kdf_scheme sha1 dh_cofactor_kdf
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
D | DigestFactory.java | 29 private static Set sha1 = new HashSet(); field in DigestFactory 42 sha1.add("SHA1"); 43 sha1.add("SHA-1"); 44 sha1.add(OIWObjectIdentifiers.idSHA1.getId()); in OIWObjectIdentifiers.idSHA1.getId() 91 if (sha1.contains(digestName)) in getDigest() 135 return (sha1.contains(digest1) && sha1.contains(digest2)) in isSameDigest()
|
/external/boringssl/src/ssl/ |
D | s3_enc.c | 171 EVP_MD_CTX sha1; in ssl3_prf() local 178 EVP_MD_CTX_init(&sha1); in ssl3_prf() 191 if (!EVP_DigestInit_ex(&sha1, EVP_sha1(), NULL)) { in ssl3_prf() 195 EVP_DigestUpdate(&sha1, buf, k); in ssl3_prf() 196 EVP_DigestUpdate(&sha1, secret, secret_len); in ssl3_prf() 199 EVP_DigestUpdate(&sha1, seed1, seed1_len); in ssl3_prf() 202 EVP_DigestUpdate(&sha1, seed2, seed2_len); in ssl3_prf() 204 EVP_DigestFinal_ex(&sha1, smd, NULL); in ssl3_prf() 224 EVP_MD_CTX_cleanup(&sha1); in ssl3_prf()
|
/external/antlr/antlr-3.4/runtime/Perl5/tools/ |
D | port.pl | 51 my $sha1 = Digest->new('SHA-1'); 52 $sha1->addfile($in); 53 my $digest = $sha1->hexdigest; 148 if ($digest ne $fstatus->{sha1}) {
|
/external/boringssl/src/crypto/digest/ |
D | digest_test.cc | 41 static const MD sha1 = { "SHA1", &EVP_sha1, &SHA1 }; variable 86 { sha1, "abc", 1, "a9993e364706816aba3e25717850c26c9cd0d89d" }, 87 { sha1, 90 { sha1, "a", 1000000, "34aa973cd4c4daa4f61eeb2bdbad27316534016f" }, 91 { sha1,
|
/external/boringssl/src/util/bot/ |
D | DEPS | 33 '-s', 'boringssl/util/bot/cmake-linux64.tar.gz.sha1', 44 '-s', 'boringssl/util/bot/cmake-mac.tar.gz.sha1', 55 '-s', 'boringssl/util/bot/cmake-win32.zip.sha1', 66 '-s', 'boringssl/util/bot/perl-win32.zip.sha1', 77 '-s', 'boringssl/util/bot/yasm-win32.exe.sha1',
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | CertificatePinner.java | 136 if (pins.contains(sha1(x509Certificate))) return; // Success! in check() 171 return "sha1/" + sha1((X509Certificate) certificate).base64(); in pin() 174 private static ByteString sha1(X509Certificate x509Certificate) { in sha1() method in CertificatePinner 175 return Util.sha1(ByteString.of(x509Certificate.getPublicKey().getEncoded())); in sha1()
|
/external/skia/bench/ |
D | ChecksumBench.cpp | 72 SkSHA1 sha1; in onDraw() local 73 sha1.update(reinterpret_cast<uint8_t*>(fData), sizeof(fData)); in onDraw() 75 sha1.finish(digest); in onDraw()
|
/external/elfutils/src/lib/ |
D | ChangeLog | 44 * sha1.c (be64_copy): New function. 50 * sha1.c (SWAP): Use BE32. 94 * Makefile.am (libeu_a_SOURCES): Add sha1.c. 95 (noinst_HEADERS): Add sha1.h. 96 * sha1.c: New file. 97 * sha1.h: New file.
|
D | Makefile.am | 37 crc32.c crc32_file.c md5.c sha1.c \ 41 sha1.h eu-config.h
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
D | TimeStampRespTest.java | 60 String sha1 = "1.3.14.3.2.26"; in testGetEncoded() local 62 sha1), new byte[20]); in testGetEncoded() 84 new AlgorithmIdentifier(sha1), null, new AlgorithmIdentifier( in testGetEncoded() 92 .singletonList(new AlgorithmIdentifier(sha1)), tSTInfoEncoded, in testGetEncoded()
|
/external/tcpdump/tests/ |
D | ikev2pI2-secrets.txt | 1 ikev2 I 0x0001020304050607 0xc02e7a3031a03188 sha1:0x4ea8e662b07cdd430f6944c6723e4b82d5722418 aes12… 2 ikev2 R 0x0001020304050607 0xc02e7a3031a03188 sha1:0x515b0bd22e6d76b34fdb760aa7bfad80b109b75d aes12…
|
/external/vboot_reference/firmware/2lib/ |
D | 2sha_utility.c | 92 vb2_sha1_init(&dc->sha1); in vb2_digest_init() 117 vb2_sha1_update(&dc->sha1, buf, size); in vb2_digest_extend() 145 vb2_sha1_finalize(&dc->sha1, digest); in vb2_digest_finalize()
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/auth/ |
D | cookie.py | 46 from hashlib import sha1 50 import sha as sha1 namespace 55 _signature_size = len(hmac.new(b'x', b'x', sha1).digest()) 148 hmac.new(self.secret, content, sha1).digest() + 167 if signature == hmac.new(self.secret, content, sha1).digest():
|
/external/toybox/toys/lsb/ |
D | md5sum.c | 193 int i, sha1=toys.which->name[0]=='s';; in do_hash() local 205 transform = sha1 ? sha1_transform : md5_transform; in do_hash() 226 count = sha1 ? SWAP_BE64(count) : SWAP_LE64(count); in do_hash() 229 if (sha1) in do_hash()
|
/external/boringssl/src/crypto/cipher/ |
D | tls_cbc.c | 231 SHA_CTX *sha1 = ctx; in tls1_sha1_final_raw() local 232 u32toBE(sha1->h0, md_out); in tls1_sha1_final_raw() 233 u32toBE(sha1->h1, md_out); in tls1_sha1_final_raw() 234 u32toBE(sha1->h2, md_out); in tls1_sha1_final_raw() 235 u32toBE(sha1->h3, md_out); in tls1_sha1_final_raw() 236 u32toBE(sha1->h4, md_out); in tls1_sha1_final_raw()
|
/external/robolectric/ |
D | update-downloads.rb | 16 sha1 = Digest::SHA1.hexdigest File.read(f) 28 download_html += " <td class=\"sha\">#{sha1}</td>\n"
|
/external/vboot_reference/tests/futility/ |
D | test_create.sh | 17 for hash in sha1 sha256 sha512; do 31 for hash in sha1 sha256 sha512; do
|
/external/libxml2/result/c14n/exc-without-comments/ |
D | test-2 | 3 <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"></SignatureMethod> 8 <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"></DigestMethod>
|