/build/tools/releasetools/ |
check_target_files_signatures | 56 from hashlib import sha1 as sha1 namespace 58 from sha import sha as sha1 namespace 119 name = "unknown cert %s (%s)" % (common.sha1(cert).hexdigest()[:12],
|
common.py | 32 from hashlib import sha1 as sha1 namespace 34 from sha import sha as sha1 namespace 714 self.sha1 = sha1(data).hexdigest()
|
/dalvik/libdex/ |
Android.mk | 33 sha1.cpp \
|
/external/chromium/net/base/ |
x509_certificate_openssl.cc | 18 #include "base/sha1.h" 338 SHA1Fingerprint sha1; local 339 unsigned int sha1_size = static_cast<unsigned int>(sizeof(sha1.data)); 340 int ret = X509_digest(cert, EVP_sha1(), sha1.data, &sha1_size); 342 CHECK_EQ(sha1_size, sizeof(sha1.data)); 343 return sha1;
|
x509_certificate_win.cc | 10 #include "base/sha1.h" 1003 SHA1Fingerprint sha1; local [all...] |
x509_certificate_nss.cc | 985 SHA1Fingerprint sha1; local [all...] |
x509_certificate_mac.cc | 19 #include "base/sha1.h" 1118 SHA1Fingerprint sha1; local [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityUnitTests.java | 127 byte[] sha1 = new byte[20]; 130 assertEquals(0, Utility.getSmallHashFromSha1(sha1)); 132 for (int i = 0; i < sha1.length; i++) { 133 sha1[i] = (byte) 0xFF; 135 assertEquals(Integer.MAX_VALUE, Utility.getSmallHashFromSha1(sha1)); 139 sha1[19] = (byte) i; 140 Utility.getSmallHashFromSha1(sha1);
|
/external/wpa_supplicant_6/wpa_supplicant/ |
Makefile | 51 OBJS += ../src/crypto/sha1.o 58 OBJS_p += ../src/crypto/sha1.o 1046 OBJS_priv += ../src/crypto/sha1.o 1112 ../src/crypto/crypto_$(CONFIG_CRYPTO).o ../src/crypto/md5.o ../src/crypto/sha1.o \ 1121 ../src/crypto/md5.o ../src/crypto/sha1.o ../src/crypto/aes.o \ 1194 TEST_MS_FUNCS_OBJS = ../src/crypto/crypto_openssl.o ../src/crypto/sha1.o ../src/crypto/md5.o \ 1201 TEST_SHA1_OBJS = ../src/crypto/sha1.o ../src/crypto/md5.o tests/test_sha1.o #../src/crypto/crypto_openssl.o 1202 test-sha1: $(TEST_SHA1_OBJS) 1204 ./test-sha1 1205 rm test-sha1 [all...] |
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/sources/ |
SdkRepoSource.java | 374 // double check that the checksum element contains a type=sha1 attribute
385 String sha1 = node == null ? null : node.getTextContent().trim();
local 386 if (sha1 == null ||
387 sha1.length() != RepoConstants.SHA1_CHECKSUM_LEN) {
|
/external/guava/guava/src/com/google/common/hash/ |
Hashing.java | 123 public static HashFunction sha1() { method in class:Hashing
|
/external/srtp/crypto/ |
Makefile | 73 hashes = hash/null_auth.o hash/sha1.o \
|
/external/openssl/apps/ |
openssl.cnf | 342 digests = md5, sha1 # Acceptable message digests (mandatory)
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/build/ |
JarListSanitizer.java | 46 * - same content: using sha1 comparison. 48 * The length/sha1 are kept in a cache and only updated if the library is changed. 71 * @param sha1 its sha1 73 private JarEntity(String path, long lastModified, long length, String sha1) { 77 mSha1 = sha1; 92 * is updated and the sha1 is reset (but not recomputed, this is done on demand). 118 * Returns the file's sha1, computing it if necessary. 119 * @return the sha1 246 // have the same size/sha1 [all...] |
/external/wpa_supplicant_8/hostapd/ |
Android.mk | 667 SHA1OBJS += src/crypto/sha1.c 669 SHA1OBJS += src/crypto/sha1-internal.c 674 SHA1OBJS += src/crypto/sha1-pbkdf2.c 676 SHA1OBJS += src/crypto/sha1-tprf.c 679 SHA1OBJS += src/crypto/sha1-tlsprf.c
|
Makefile | 643 SHA1OBJS += ../src/crypto/sha1.o 645 SHA1OBJS += ../src/crypto/sha1-internal.o 650 SHA1OBJS += ../src/crypto/sha1-pbkdf2.o 652 SHA1OBJS += ../src/crypto/sha1-tprf.o 655 SHA1OBJS += ../src/crypto/sha1-tlsprf.o
|
/bootable/recovery/applypatch/ |
applypatch.sh | 70 sha1() { function 103 OLD_SHA1=$(sha1 $DATA_DIR/old.file) 104 NEW_SHA1=$(sha1 $DATA_DIR/new.file)
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
Utility.java | 486 /* package for testing */ static int getSmallHashFromSha1(byte[] sha1) { 487 final int offset = sha1[19] & 0xf; // SHA1 is 20 bytes. 488 return ((sha1[offset] & 0x7f) << 24) 489 | ((sha1[offset + 1] & 0xff) << 16) 490 | ((sha1[offset + 2] & 0xff) << 8) 491 | ((sha1[offset + 3] & 0xff)); [all...] |
/system/extras/ext4_utils/ |
Android.mk | 17 sha1.c \
|
/external/elfutils/tests/ |
Makefile.am | 93 noinst_PROGRAMS += msg_tst sha1-tst 94 TESTS += msg_tst sha1-tst
|
/external/srtp/ |
Makefile | 79 hashes = crypto/hash/null_auth.o crypto/hash/sha1.o \
|
/external/chromium/chrome/common/extensions/docs/build/ |
directory.py | 289 self['id'] = hashlib.sha1(self['path']).hexdigest() 542 3. Calculates a SHA1 digest for the contents of the file. 586 hash = hashlib.sha1(code_contents.encode("ascii", "replace")) 591 data['source_hash'] = hashlib.sha1(''.join(source_hashes)).hexdigest()
|
/external/dropbear/libtomcrypt/src/headers/ |
tomcrypt_hash.h | 18 #ifdef SHA1 119 #ifdef SHA1 120 struct sha1_state sha1; member in union:Hash_state 249 #ifdef SHA1
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
MCCacheWriter.cpp | 131 memcpy(dep->sha1, I->second.second, 20);
|
/system/core/libcutils/ |
dir_hash.c | 22 #include <sha1.h>
|