/external/webrtc/webrtc/base/ |
sha1digest_unittest.cc | 17 std::string Sha1(const std::string& input) { 18 Sha1Digest sha1; local 19 return ComputeDigest(&sha1, input); 23 Sha1Digest sha1; local 25 EXPECT_EQ(20U, sha1.Size()); 29 // Test vectors from sha1.c. 30 EXPECT_EQ("da39a3ee5e6b4b0d3255bfef95601890afd80709", Sha1("")); 31 EXPECT_EQ("a9993e364706816aba3e25717850c26c9cd0d89d", Sha1("abc")); 33 Sha1("abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq")); 35 EXPECT_EQ("34aa973cd4c4daa4f61eeb2bdbad27316534016f", Sha1(a_million_as)) 39 Sha1Digest sha1; local 52 Sha1Digest sha1; local 62 Sha1Digest sha1; local 70 Sha1Digest sha1; local [all...] |
/bootable/recovery/ |
print_sha1.h | 25 static std::string print_sha1(const uint8_t* sha1, size_t len) { 29 result.push_back(hex[(sha1[i]>>4) & 0xf]); 30 result.push_back(hex[sha1[i] & 0xf]); 35 static std::string print_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { 36 return print_sha1(sha1, SHA_DIGEST_LENGTH); 39 static std::string short_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { 40 return print_sha1(sha1, 4);
|
/external/guava/guava-tests/test/com/google/common/hash/ |
MessageDigestHashFunctionTest.java | 40 // - For example, the "SHA-1" algorithm might be referred to as "SHA1". 45 .put("SHA", Hashing.sha1()) // Not the official name, but still works 46 .put("SHA1", Hashing.sha1()) // Not the official name, but still works 47 .put("sHa-1", Hashing.sha1()) // Not the official name, but still works 48 .put("SHA-1", Hashing.sha1()) 62 Hasher sha1 = Hashing.sha1().newHasher(); local 65 sha1.putString("The quick brown fox jumps over the lazy dog", Charsets.UTF_8) 69 sha1.putInt(42) 76 Hasher sha1 = Hashing.sha1().newHasher(); local [all...] |
/external/boringssl/src/crypto/cipher_extra/test/ |
make_all_legacy_aead_tests.sh | 5 go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 > aes_128_cbc_sha1_tls_tests.txt 6 go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 -implicit-iv > aes_128_cbc_sha1_tls_implicit_iv_tests.txt 9 go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 > aes_256_cbc_sha1_tls_tests.txt 10 go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 -implicit-iv > aes_256_cbc_sha1_tls_implicit_iv_tests.txt 14 go run make_legacy_aead_tests.go -cipher 3des -mac sha1 > des_ede3_cbc_sha1_tls_tests.txt 15 go run make_legacy_aead_tests.go -cipher 3des -mac sha1 -implicit-iv > des_ede3_cbc_sha1_tls_implicit_iv_tests.txt 17 go run make_legacy_aead_tests.go -cipher aes128 -mac sha1 -ssl3 > aes_128_cbc_sha1_ssl3_tests.txt 18 go run make_legacy_aead_tests.go -cipher aes256 -mac sha1 -ssl3 > aes_256_cbc_sha1_ssl3_tests.txt 19 go run make_legacy_aead_tests.go -cipher 3des -mac sha1 -ssl3 > des_ede3_cbc_sha1_ssl3_tests.txt
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
sha.py | 10 from hashlib import sha1 as sha
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
sha.py | 10 from hashlib import sha1 as sha
|
/external/python/cpython2/Lib/ |
sha.py | 10 from hashlib import sha1 as sha
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
sha.py | 10 from hashlib import sha1 as sha
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
sha.py | 10 from hashlib import sha1 as sha
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
sha.py | 10 from hashlib import sha1 as sha
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
sha.py | 10 from hashlib import sha1 as sha
|
/external/llvm/unittests/Support/ |
raw_sha1_ostream_test.cpp | 35 auto Hash = toHex(Sha1Stream.sha1()); 45 auto Hash = toHex(Sha1Stream.sha1()); 49 Hash = toHex(Sha1Stream.sha1()); 54 auto NonSplitHash = toHex(NonSplitSha1Stream.sha1()); 62 auto Hash = toHex(Sha1Stream.sha1()); 68 Hash = toHex(Sha1Stream.sha1());
|
/external/openssh/regress/ |
putty-kex.sh | 11 for k in dh-gex-sha1 dh-group1-sha1 dh-group14-sha1 ; do
|
/external/skia/bin/ |
fetch-clang-format | 22 sha1 = open(target_path + '.sha1').read().strip() 25 h = hashlib.sha1() 31 if sha1_of_file(target_path) != sha1: 33 url = 'https://chromium-%s.storage-download.googleapis.com/%s' % (target, sha1) 41 if sha1_of_file(target_copy_path) != sha1:
|
fetch-gn | 21 sha1 = open(gn_path + '.sha1').read().strip() variable 24 h = hashlib.sha1() 30 if sha1_of_file(gn_path) != sha1: 32 f.write(urllib2.urlopen('https://chromium-gn.storage-download.googleapis.com/' + sha1).read()) 39 if sha1_of_file(gn_copy_path) != sha1:
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
KernelBuildInfo.java | 42 * @param sha1 the git sha1, used as the build id 43 * @param shortSha1 the git short sha1 47 public KernelBuildInfo(String sha1, String shortSha1, long commitTime, String buildName) { 48 super(sha1, buildName); 49 mSha1 = sha1; 90 public void setSha1(String sha1) { 91 mSha1 = sha1;
|
/external/mesa3d/src/util/ |
mesa-sha1.c | 27 #include "sha1/sha1.h" 28 #include "mesa-sha1.h" 72 _mesa_sha1_format(char *buf, const unsigned char *sha1) 78 buf[i] = hex_digits[sha1[i >> 1] >> 4]; 79 buf[i + 1] = hex_digits[sha1[i >> 1] & 0x0f];
|
mesa-sha1.h | 44 _mesa_sha1_format(char *buf, const unsigned char *sha1);
|
/external/wpa_supplicant_8/src/crypto/ |
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/elfutils/lib/ |
Makefile.am | 37 crc32.c crc32_file.c md5.c sha1.c \ 41 sha1.h eu-config.h
|
/external/llvm/include/llvm/Support/ |
raw_sha1_ostream.h | 1 //==- raw_sha1_ostream.h - raw_ostream that compute SHA1 --*- C++ -*-==// 18 #include "llvm/Support/SHA1.h" 23 /// A raw_ostream that hash the content using the sha1 algorithm. 25 SHA1 State; 33 /// Return the current SHA1 hash for the content of the stream 34 StringRef sha1() { function in class:llvm::raw_sha1_ostream
|
/external/r8/tools/ |
upload_to_x20.py | 38 sha1 = utils.get_sha1(filename) 39 dest = os.path.join(GMSCORE_DEPS, sha1) 43 sha1_file = '%s.sha1' % filename 45 output.write(sha1) 46 print 'Sha (%s) written to: %s' % (sha1, sha1_file)
|
/prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/Support/ |
raw_sha1_ostream.h | 1 //==- raw_sha1_ostream.h - raw_ostream that compute SHA1 --*- C++ -*-==// 18 #include "llvm/Support/SHA1.h" 23 /// A raw_ostream that hash the content using the sha1 algorithm. 25 SHA1 State; 33 /// Return the current SHA1 hash for the content of the stream 34 StringRef sha1() { function in class:llvm::raw_sha1_ostream
|
/prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/Support/ |
raw_sha1_ostream.h | 1 //==- raw_sha1_ostream.h - raw_ostream that compute SHA1 --*- C++ -*-==// 18 #include "llvm/Support/SHA1.h" 23 /// A raw_ostream that hash the content using the sha1 algorithm. 25 SHA1 State; 33 /// Return the current SHA1 hash for the content of the stream 34 StringRef sha1() { function in class:llvm::raw_sha1_ostream
|
/prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/Support/ |
raw_sha1_ostream.h | 1 //==- raw_sha1_ostream.h - raw_ostream that compute SHA1 --*- C++ -*-==// 18 #include "llvm/Support/SHA1.h" 23 /// A raw_ostream that hash the content using the sha1 algorithm. 25 SHA1 State; 33 /// Return the current SHA1 hash for the content of the stream 34 StringRef sha1() { function in class:llvm::raw_sha1_ostream
|