/frameworks/compile/libbcc/lib/ExecutionEngine/ |
MCCacheReader.h | 72 unsigned char const *sha1) { 74 std::make_pair((uint32_t)resType, sha1)));
|
Sha1Helper.cpp | 28 #include <sha1.h> 33 char const *pathLibBCC_SHA1 = "/system/lib/libbcc.so.sha1"; 56 LOGE("Unable to calculate the sha1 checksum of %s\n", filename); 88 LOGE("Unable to read binary sha1 file %s\n", filename);
|
/build/tools/releasetools/ |
ota_from_target_files | 72 from hashlib import sha1 as sha1 namespace 74 from sha import sha as sha1 namespace 291 common.sha1(data).hexdigest())) 347 'boot_sha1': boot_img.sha1, 349 'recovery_sha1': recovery_img.sha1, 451 out[fn].sha1)) 511 elif tf.sha1 != sf.sha1: 528 patch_list.append((tf.name, tf, sf, tf.size, common.sha1(d).hexdigest()) [all...] |
edify_generator.py | 114 def PatchCheck(self, filename, *sha1): 116 given *sha1 hashes, checking the version saved in cache if the 119 "".join([', "%s"' % (i,) for i in sha1]) + 122 def FileCheck(self, filename, *sha1): 124 given *sha1 hashes.""" 126 "".join([', "%s"' % (i,) for i in sha1]) +
|
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],
|
/external/wpa_supplicant/ |
crypto_internal.c | 20 #include "sha1.h" 59 struct SHA1Context sha1; member in union:crypto_hash::__anon13846 85 SHA1Init(&ctx->u.sha1); 107 SHA1Init(&ctx->u.sha1); 108 SHA1Update(&ctx->u.sha1, key, key_len); 109 SHA1Final(tk, &ctx->u.sha1); 120 SHA1Init(&ctx->u.sha1); 121 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); 144 SHA1Update(&ctx->u.sha1, data, len); 180 SHA1Final(mac, &ctx->u.sha1); [all...] |
Makefile | 40 rc4.o sha1.o des.o 41 OBJS_p = wpa_passphrase.o sha1.o md5.o md4.o \ 789 crypto_$(CONFIG_CRYPTO).o md5.o sha1.o \ 798 md5.o sha1.o \ 846 TEST_MS_FUNCS_OBJS = crypto.o sha1.o md5.o \ 853 TEST_SHA1_OBJS = sha1.o md5.o tests/test_sha1.o #crypto.o 854 test-sha1: $(TEST_SHA1_OBJS) 856 ./test-sha1 857 rm test-sha1 871 TEST_EAP_SIM_COMMON_OBJS = sha1.o md5.o [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/ |
DSAParametersGenerator.java | 78 SHA1Digest sha1 = new SHA1Digest(); local 86 hash(sha1, seed, part1); 89 hash(sha1, part2, part2); 114 hash(sha1, offset, part1); 119 hash(sha1, offset, part1);
|
/external/webkit/Source/JavaScriptCore/wtf/ |
SHA1.cpp | 36 #include "SHA1.h" 53 SHA1 sha1; 55 sha1.addBytes(reinterpret_cast<const uint8_t*>(input.data()), input.length()); 57 sha1.computeHash(digest); 111 SHA1::SHA1() 118 void SHA1::addBytes(const uint8_t* input, size_t length) 129 void SHA1::computeHash(Vector<uint8_t, 20>& digest) 147 void SHA1::finalize( [all...] |
/frameworks/compile/libbcc/ |
Android.mk | 39 # Calculate SHA1 checksum for libbcc.so and libRS.so 44 LOCAL_MODULE := libbcc.so.sha1 53 libbcc_GEN_SHA1_STAMP := $(LOCAL_PATH)/tools/gen-sha1-stamp.py 139 LOCAL_REQUIRED_MODULES := libclcore.bc libbcc.so.sha1 147 # Generate build stamp (Build time + Build git revision + Build Semi SHA1) 215 # Generate build stamp (Build time + Build git revision + Build Semi SHA1)
|
/development/tools/ |
make_key | 54 openssl req -new -x509 -sha1 -key ${two} -out $1.x509.pem \
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TSTInfoTest.java | 44 // SHA1 OID as defined in RFC 3161 45 String sha1 = "1.3.14.3.2.26"; local 47 sha1), new byte[20]);
|
/external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/ |
DigitalSignatureTest.java | 118 // Sign first: init DigitalSignature with md5 and sha1 129 byte[] sha1 = new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 134 dsig.setSHA(sha1);
|
/frameworks/compile/libbcc/include/bcc/ |
bcc_cache.h | 100 unsigned char sha1[20]; member in struct:OBCC_Dependency
|
/bootable/recovery/applypatch/ |
applypatch.c | 97 SHA(file->data, file->size, file->sha1); 126 // sha1 hash will be loaded. It is acceptable for a size value to be 167 int pairs = (colons-1)/2; // # of (size,sha1) pairs in filename 265 printf("failed to parse sha1 %s in %s\n", 295 // Ran off the end of the list of (size,sha1) pairs without 306 file->sha1[i] = sha_final[i]; 471 // Search an array of sha1 strings for one matching the given sha1. 474 int FindMatchingPatch(uint8_t* sha1, char** const patch_sha1_str, 480 memcmp(patch_sha1, sha1, SHA_DIGEST_SIZE) == 0) [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
crypto_internal.c | 20 #include "sha1.h" 60 struct SHA1Context sha1; member in union:crypto_hash::__anon14012 86 SHA1Init(&ctx->u.sha1); 108 SHA1Init(&ctx->u.sha1); 109 SHA1Update(&ctx->u.sha1, key, key_len); 110 SHA1Final(tk, &ctx->u.sha1); 121 SHA1Init(&ctx->u.sha1); 122 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); 145 SHA1Update(&ctx->u.sha1, data, len); 181 SHA1Final(mac, &ctx->u.sha1); [all...] |
/bootable/recovery/ |
verifier.c | 143 LOGE("failed to alloc memory for sha1 buffer\n"); 170 const uint8_t* sha1 = SHA_final(&ctx); local 175 RSANUMBYTES, sha1)) {
|
/external/openssl/android.testssl/ |
CAss.cnf | 14 default_md = sha1
|
/external/srtp/ |
Android.mk | 15 crypto/hash/sha1.c \
|
/external/clang/utils/ |
CaptureCmd | 26 key = hashlib.sha1(string).hexdigest()
|
/bootable/recovery/minelf/ |
Retouch.c | 271 SHA(file.data, file.size, file.sha1); 293 if (result != 0 || FindMatchingPatch(file.sha1, &binary_sha1, 1) < 0) { 298 if (result != 0 || FindMatchingPatch(file.sha1, &binary_sha1, 1) < 0) {
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/ |
DESedeWrapEngine.java | 55 Digest sha1 = new SHA1Digest(); field in class:DESedeWrapEngine 318 sha1.update(key, 0, key.length); 319 sha1.doFinal(digest, 0);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
nmake.mak | 65 $(OBJDIR)\sha1.obj \ 66 $(OBJDIR)\sha1-tlsprf.obj \ 67 $(OBJDIR)\sha1-pbkdf2.obj \ 162 $(OBJDIR)\sha1.obj \ 165 $(OBJDIR)\sha1-pbkdf2.obj \
|
/external/ppp/pppd/ |
Makefile.linux | 73 # Enable EAP SRP-SHA1 authentication (requires libsrp) 97 # EAP SRP-SHA1 110 PPPDSRCS += sha1.c 111 HEADERS += sha1.h 112 PPPDOBJS += sha1.o
|
/dalvik/libdex/ |
Android.mk | 33 sha1.cpp \
|