/system/core/fastboot/ |
signfile.sh | 9 openssl dgst -passin pass:"$3" -binary -sha1 -sign $1.pem $2 > $2.sign
|
/frameworks/compile/libbcc/tools/ |
gen-sha1-stamp.py | 7 sha1 = hashlib.sha1 variable 10 sha1 = sha.sha variable 22 h = sha1()
|
gen-build-stamp.py | 11 sha1 = hashlib.sha1 variable 14 sha1 = sha.sha variable 47 hasher = sha1() 59 hasher = sha1() 98 # Compute SHA1
|
/external/dropbear/libtomcrypt/src/hashes/ |
sha1.c | 14 @file sha1.c 15 SHA1 code by Tom St Denis 19 #ifdef SHA1 23 "sha1", 61 a = md->sha1.state[0]; 62 b = md->sha1.state[1]; 63 c = md->sha1.state[2]; 64 d = md->sha1.state[3]; 65 e = md->sha1.state[4]; 141 md->sha1.state[0] = md->sha1.state[0] + a [all...] |
/system/extras/ext4_utils/ |
uuid.c | 21 #include "sha1.h" 36 unsigned char sha1[SHA1_DIGEST_LENGTH]) 42 SHA1Final(sha1, &ctx); 47 unsigned char sha1[SHA1_DIGEST_LENGTH]; local 50 sha1_hash(namespace, name, (unsigned char*)sha1); 51 memcpy(uuid, sha1, sizeof(struct uuid));
|
/external/wpa_supplicant_8/src/crypto/ |
Makefile | 37 sha1.o \ 38 sha1-internal.o \ 39 sha1-pbkdf2.o \ 40 sha1-tlsprf.o \ 41 sha1-tprf.o \
|
crypto_internal.c | 26 struct SHA1Context sha1; member in union:crypto_hash::__anon14230 52 SHA1Init(&ctx->u.sha1); 74 SHA1Init(&ctx->u.sha1); 75 SHA1Update(&ctx->u.sha1, key, key_len); 76 SHA1Final(tk, &ctx->u.sha1); 87 SHA1Init(&ctx->u.sha1); 88 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); 111 SHA1Update(&ctx->u.sha1, data, len); 147 SHA1Final(mac, &ctx->u.sha1); 177 SHA1Final(mac, &ctx->u.sha1); [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
CertificateTest.java | 85 MessageDigest messageDigest = MessageDigest.getInstance("SHA1"); 87 byte[] sha1 = messageDigest.digest(); 88 return convertToHexFingerprint(sha1); 91 private String convertToHexFingerprint(byte[] sha1) { 93 for (int i = 0; i < sha1.length; i++) { 94 fingerprint.append(String.format("%02X", sha1[i])); 95 if (i + 1 < sha1.length) {
|
/device/samsung/toro/ |
releasetools.py | 57 len(source_radio_img), common.sha1(source_radio_img).hexdigest(), 58 len(target_radio_img), common.sha1(target_radio_img).hexdigest())) 119 if tf.sha1 == sf.sha1: 137 sf.size, sf.sha1, tf.size, tf.sha1), 138 "-", tf.size, tf.sha1, sf.sha1, "radio.img.p")
|
/device/samsung/tuna/ |
releasetools.py | 48 len(source_radio_img), common.sha1(source_radio_img).hexdigest(), 49 len(target_radio_img), common.sha1(target_radio_img).hexdigest())) 94 if tf.sha1 == sf.sha1: 112 sf.size, sf.sha1, tf.size, tf.sha1), 113 "-", tf.size, tf.sha1, sf.sha1, "radio.img.p")
|
/device/samsung/crespo4g/ |
releasetools.py | 65 elif sf and tf.sha1 == sf.sha1: 75 elif sf and tf.sha1 == sf.sha1:
|
/external/srtp/crypto/include/ |
sha1.h | 2 * sha1.h 61 * sha1(&ctx, msg, len, output) hashes the len octets starting at msg 62 * into the SHA1 context, then writes the result to the 20 octets at 68 sha1(const uint8_t *message, int octets_in_msg, uint32_t output[5]); 71 * sha1_init(&ctx) initializes the SHA1 context ctx 74 * into the SHA1 context 76 * sha1_final(&ctx, output) performs the final processing of the SHA1 97 * sha1_core(M, H) computes the core sha1 compression function, where M is 102 * complete sha1 function
|
/bootable/recovery/applypatch/ |
applypatch.h | 26 uint8_t sha1[SHA_DIGEST_SIZE]; member in struct:_Patch 31 uint8_t sha1[SHA_DIGEST_SIZE]; member in struct:_FileContents 67 int FindMatchingPatch(uint8_t* sha1, char** const patch_sha1_str,
|
imgdiff_test.sh | 56 sha1() { function 94 /data/local/tmp/target $(sha1 $tmpdir/target) $(size $tmpdir/target) \ 95 $(sha1 $tmpdir/source):/data/local/tmp/patch \
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JCEDigestUtil.java | 26 private static Set sha1 = new HashSet(); field in class:JCEDigestUtil 41 sha1.add("SHA1"); 42 sha1.add("SHA-1"); 43 sha1.add(OIWObjectIdentifiers.idSHA1.getId()); 66 oids.put("SHA1", OIWObjectIdentifiers.idSHA1); 94 if (sha1.contains(digestName)) 128 return (sha1.contains(digest1) && sha1.contains(digest2))
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
SourceInfo.cpp | 68 LOGW("It is required to give resName for sha1 dependency check.\n"); 74 memset(result->sha1, '\0', 20); 76 calcSHA1(result->sha1, bitcode, bitcodeSize); 97 memset(result->sha1, '\0', 20); 100 calcFileSHA1(result->sha1, path); 129 memset(result->sha1, '\0', 20); 183 checker.addDependency(BCC_APK_RESOURCE, buffer.resName, sha1); 187 checker.addDependency(BCC_FILE_RESOURCE, file.path, sha1);
|
MCCacheWriter.h | 69 unsigned char const *sha1) { 71 std::make_pair((uint32_t)resType, sha1)));
|
SourceInfo.h | 61 unsigned char sha1[20]; member in class:bcc::SourceInfo
|
/device/samsung/crespo/ |
releasetools.py | 99 if tf.sha1 == sf.sha1: 118 sf.size, sf.sha1, tf.size, tf.sha1), 119 "-", tf.size, tf.sha1, sf.sha1, "radio.img.p")
|
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/ |
racoon.conf | 20 hash_algorithm sha1;
|
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/ |
racoon.conf | 18 hash_algorithm sha1;
|
/frameworks/compile/libbcc/helper/ |
Android.mk | 35 LOCAL_SRC_FILES := sha1.c 59 sha1.c
|
/frameworks/compile/libbcc/lib/ExecutionEngine/OldJIT/ |
CacheReader.h | 66 unsigned char const *sha1) { 68 std::make_pair((uint32_t)resType, sha1)));
|
CacheWriter.h | 71 unsigned char const *sha1) { 73 std::make_pair((uint32_t)resType, sha1)));
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/tsp/ |
TimeStampRespTest.java | 60 String sha1 = "1.3.14.3.2.26"; local 62 sha1), new byte[20]); 84 new AlgorithmIdentifier(sha1), null, new AlgorithmIdentifier( 92 .singletonList(new AlgorithmIdentifier(sha1)), tSTInfoEncoded,
|