/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
Security2Test.java | 260 filter.put("MessageDigest.SHA1", ""); 264 assertEquals("Filter : <MessageDigest.SHA1><TrustManagerFactory.X509>", 268 "Filter : <MessageDigest.SHA1><TrustManagerFactory.X509>",
|
/external/openssl/crypto/asn1/ |
a_sign.c | 149 * with id-dsa-with-sha1 */ 236 * with id-dsa-with-sha1 and ecdsa-with-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/jarutils/src/com/android/jarutils/ |
SignedJarBuilder.java | 55 private static final String DIGEST_ALGORITHM = "SHA1"; 56 private static final String DIGEST_ATTR = "SHA1-Digest"; 57 private static final String DIGEST_MANIFEST_ATTR = "SHA1-Digest-Manifest";
|
/bootable/bootloader/legacy/include/boot/ |
bootimg.h | 60 unsigned id[8]; /* timestamp / checksum / sha1 / etc */
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/x509/ |
AuthorityKeyIdentifier.java | 81 * Calulates the keyidentifier using a SHA1 hash over the BIT STRING
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
X509SignatureUtil.java | 101 return "SHA1";
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
X509Util.java | 65 // According to RFC 3279, the ASN.1 encoding SHALL (id-dsa-with-sha1) or MUST (ecdsa-with-SHA*) omit the parameters field.
|
/external/ipsec-tools/src/racoon/samples/ |
racoon.conf.sample-natt | 82 hash_algorithm sha1;
|
/external/openssl/crypto/evp/ |
c_alld.c | 83 EVP_add_digest_alias(SN_sha1,"ssl3-sha1");
|
/external/openssl/crypto/sha/ |
sha1_one.c | 65 unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md)
|
sha1dgst.c | 71 const char SHA1_version[]="SHA1" OPENSSL_VERSION_PTEXT;
|
/system/core/mkbootimg/ |
bootimg.h | 49 unsigned id[8]; /* timestamp / checksum / sha1 / etc */
|
/external/dropbear/libtomcrypt/testprof/ |
katja_test.c | 13 hash_idx = find_hash("sha1"); 16 fprintf(stderr, "katja_test requires SHA1 and yarrow");
|
x86_prof.c | 195 #ifdef SHA1 847 find_prng("yarrow"), find_hash("sha1"), 867 if ((err = rsa_decrypt_key(buf[1], z, buf[0], &zzz, (const unsigned char *)"testprog", 8, find_hash("sha1"), 888 find_prng("yarrow"), find_hash("sha1"), 8, &key)) != CRYPT_OK) { 906 if ((err = rsa_verify_hash(buf[1], z, buf[0], 20, find_hash("sha1"), 8, &stat, &key)) != CRYPT_OK) { 966 find_prng("yarrow"), find_hash("sha1"), 982 if ((err = katja_decrypt_key(buf[1], z, buf[0], &zzz, "testprog", 8, find_hash("sha1"), 1066 if ((err = ecc_encrypt_key(buf[0], 20, buf[1], &z, &yarrow_prng, find_prng("yarrow"), find_hash("sha1"), 1166 hash_idx = find_hash("sha1"); 1169 fprintf(stderr, "Warning the MAC tests requires AES and SHA1 to operate... so sorry\n") [all...] |
/external/ipsec-tools/src/racoon/ |
eaytest.c | 747 printf("\n**Test for HMAC MD5, SHA1, and SHA256.**\n"); 749 printf("\n**Test for HMAC MD5 & SHA1.**\n"); 789 /* HMAC SHA1 */ 790 printf("HMAC SHA1 by eay_hmacsha1_one()\n"); 801 /* HMAC SHA1 */ 802 printf("HMAC SHA1 by eay_hmacsha1_xxx()\n"); 847 printf("\n**Test for SHA1.**\n"); 1008 { "sha1", sha1test, },
|
/dalvik/libdex/ |
sha1.c | 82 #include "sha1.h" 125 /* (R0+R1), R2, R3, R4 are the different operations used in SHA1 */ 203 /* SHA1 initialization constants */ 352 1 /*(!strncmp(checkline,"SHA1=", 5))*/) 483 //printf("SHA1="); 502 "No SHA1 lines found in %s\n",
|
/external/wpa_supplicant/ |
eap_sim_common.c | 19 #include "sha1.h" 53 /* MK = SHA1(Identity|n*Kc|NONCE_MT|Version List|Selected Version) */ 72 /* MK = SHA1(Identity|IK|CK) */ 145 /* XKEY' = SHA1(Identity|counter|NONCE_S|MK) */ 189 /* HMAC-SHA1-128 */ 218 /* HMAC-SHA1-128 */
|
/external/openssl/ssl/ |
t1_enc.c | 174 static void tls1_PRF(const EVP_MD *md5, const EVP_MD *sha1, 189 tls1_P_hash(sha1,S2,len,label,label_len,out2,olen); 211 tls1_PRF(s->ctx->md5,s->ctx->sha1,buf,(int)(p-buf), 397 tls1_PRF(s->ctx->md5,s->ctx->sha1,buf,(int)(p-buf),key,j, 411 tls1_PRF(s->ctx->md5,s->ctx->sha1,buf,p-buf,empty,0, 715 tls1_PRF(s->ctx->md5,s->ctx->sha1,buf,(int)(q-buf), 828 tls1_PRF(s->ctx->md5,s->ctx->sha1,
|
/sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/ |
Archive.java | 55 /** A SHA1 checksum, represented as a 40-hex string. */
56 SHA1("SHA-1"); //$NON-NLS-1$
193 private final ChecksumType mChecksumType = ChecksumType.SHA1;
263 * Returns the SHA1 archive checksum, as a 40-char hex.
271 * Returns the checksum type, always {@link ChecksumType#SHA1} right now.
566 * Also computes the SHA1 of the file on the fly.
569 * SHA1 as expected. Returns true on success or false if any of those checks fail.
[all...] |
RepoSource.java | 605 // double check that the checksum element contains a type=sha1 attribute
616 String sha1 = node == null ? null : node.getTextContent().trim();
local 617 if (sha1 == null || sha1.length() != SdkRepository.SHA1_CHECKSUM_LEN) {
629 Element cs = appendChild(ar, ns, prefix, SdkRepository.NODE_CHECKSUM, sha1);
[all...] |
/external/openssl/crypto/objects/ |
obj_mac.h | 105 #define SN_hmac_sha1 "HMAC-SHA1" 106 #define LN_hmac_sha1 "hmac-sha1" 156 #define SN_dsaWithSHA1 "DSA-SHA1" 314 #define SN_ecdsa_with_SHA1 "ecdsa-with-SHA1" 578 #define SN_sha1WithRSAEncryption "RSA-SHA1" 635 #define SN_pbeWithSHA1AndDES_CBC "PBE-SHA1-DES" 640 #define SN_pbeWithSHA1AndRC2_CBC "PBE-SHA1-RC2-64" [all...] |
/external/openssl/crypto/store/ |
store.h | 173 STORE_ATTR_KEYID= 0x02, /* 160 bit string (SHA1) */ 174 STORE_ATTR_ISSUERKEYID= 0x03, /* 160 bit string (SHA1) */ 175 STORE_ATTR_SUBJECTKEYID= 0x04, /* 160 bit string (SHA1) */ 176 STORE_ATTR_ISSUERSERIALHASH= 0x05, /* 160 bit string (SHA1) */ 180 STORE_ATTR_CERTHASH= 0x09, /* 160 bit string (SHA1) */
|
/external/openssl/include/openssl/ |
obj_mac.h | 105 #define SN_hmac_sha1 "HMAC-SHA1" 106 #define LN_hmac_sha1 "hmac-sha1" 156 #define SN_dsaWithSHA1 "DSA-SHA1" 314 #define SN_ecdsa_with_SHA1 "ecdsa-with-SHA1" 578 #define SN_sha1WithRSAEncryption "RSA-SHA1" 635 #define SN_pbeWithSHA1AndDES_CBC "PBE-SHA1-DES" 640 #define SN_pbeWithSHA1AndRC2_CBC "PBE-SHA1-RC2-64" [all...] |
store.h | 173 STORE_ATTR_KEYID= 0x02, /* 160 bit string (SHA1) */ 174 STORE_ATTR_ISSUERKEYID= 0x03, /* 160 bit string (SHA1) */ 175 STORE_ATTR_SUBJECTKEYID= 0x04, /* 160 bit string (SHA1) */ 176 STORE_ATTR_ISSUERSERIALHASH= 0x05, /* 160 bit string (SHA1) */ 180 STORE_ATTR_CERTHASH= 0x09, /* 160 bit string (SHA1) */
|