Home
last modified time | relevance | path

Searched refs:sha1 (Results 1 – 25 of 65) sorted by relevance

123

/external/dropbear/libtomcrypt/src/hashes/
Dsha1.c61 a = md->sha1.state[0]; in _sha1_compress()
62 b = md->sha1.state[1]; in _sha1_compress()
63 c = md->sha1.state[2]; in _sha1_compress()
64 d = md->sha1.state[3]; in _sha1_compress()
65 e = md->sha1.state[4]; in _sha1_compress()
141 md->sha1.state[0] = md->sha1.state[0] + a; in _sha1_compress()
142 md->sha1.state[1] = md->sha1.state[1] + b; in _sha1_compress()
143 md->sha1.state[2] = md->sha1.state[2] + c; in _sha1_compress()
144 md->sha1.state[3] = md->sha1.state[3] + d; in _sha1_compress()
145 md->sha1.state[4] = md->sha1.state[4] + e; in _sha1_compress()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DJCEDigestUtil.java26 private static Set sha1 = new HashSet(); field in JCEDigestUtil
41 sha1.add("SHA1");
42 sha1.add("SHA-1");
43 sha1.add(OIWObjectIdentifiers.idSHA1.getId()); in OIWObjectIdentifiers.idSHA1.getId()
94 if (sha1.contains(digestName)) in getDigest()
128 return (sha1.contains(digest1) && sha1.contains(digest2)) in isSameDigest()
DPKIXCertPathValidatorSpi.java96 for (byte[] sha1 : PUBLIC_KEY_SHA1_BLACKLIST) { in isPublicKeyBlackListed()
97 if (Arrays.equals(out, sha1)) { in isPublicKeyBlackListed()
/external/openssl/crypto/objects/
Dobj_xref.txt8 sha1WithRSAEncryption sha1 rsaEncryption
21 sha1WithRSA sha1 rsa
24 dsaWithSHA1 sha1 dsa
26 dsaWithSHA1_2 sha1 dsa_2
28 ecdsa_with_SHA1 sha1 X9_62_id_ecPublicKey
/external/wpa_supplicant/
Dcrypto_internal.c59 struct SHA1Context sha1; member
85 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
107 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
108 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
109 SHA1Final(tk, &ctx->u.sha1); in crypto_hash_init()
120 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
121 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
144 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
180 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish()
210 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish()
[all …]
DMakefile40 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/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dcrypto_internal.c60 struct SHA1Context sha1; member
86 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
108 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
109 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
110 SHA1Final(tk, &ctx->u.sha1); in crypto_hash_init()
121 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
122 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
145 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
181 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish()
211 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish()
[all …]
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DDSAParametersGenerator.java78 SHA1Digest sha1 = new SHA1Digest(); in generateParameters_FIPS186_2() local
86 hash(sha1, seed, part1); in generateParameters_FIPS186_2()
89 hash(sha1, part2, part2); in generateParameters_FIPS186_2()
114 hash(sha1, offset, part1); in generateParameters_FIPS186_2()
119 hash(sha1, offset, part1); in generateParameters_FIPS186_2()
/external/chromium/net/base/
Dx509_certificate_win.cc752 Fingerprint sha1; in CalculateFingerprint() local
753 DWORD sha1_size = sizeof(sha1.data); in CalculateFingerprint()
755 cert->cbCertEncoded, sha1.data, &sha1_size); in CalculateFingerprint()
756 DCHECK(rv && sha1_size == sizeof(sha1.data)); in CalculateFingerprint()
758 memset(sha1.data, 0, sizeof(sha1.data)); in CalculateFingerprint()
759 return sha1; in CalculateFingerprint()
Dx509_certificate_mac.cc678 Fingerprint sha1; in CalculateFingerprint() local
679 memset(sha1.data, 0, sizeof(sha1.data)); in CalculateFingerprint()
684 return sha1; in CalculateFingerprint()
689 CC_SHA1(cert_data.Data, cert_data.Length, sha1.data); in CalculateFingerprint()
691 return sha1; in CalculateFingerprint()
Dx509_certificate_nss.cc635 Fingerprint sha1; in CalculateFingerprint() local
636 memset(sha1.data, 0, sizeof(sha1.data)); in CalculateFingerprint()
641 SECStatus rv = HASH_HashBuf(HASH_AlgSHA1, sha1.data, in CalculateFingerprint()
645 return sha1; in CalculateFingerprint()
/external/ipsec-tools/src/racoon/samples/
Dracoon.conf.sample-inherit24 hash_algorithm sha1;
42 hash_algorithm sha1;
Dracoon.conf.in68 hash_algorithm sha1;
90 hash_algorithm sha1;
Dracoon.conf.sample-plainrsa33 hash_algorithm sha1;
Dracoon.conf.sample-gssapi23 hash_algorithm sha1;
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/engines/
DDESedeWrapEngine.java55 Digest sha1 = new SHA1Digest(); field in DESedeWrapEngine
318 sha1.update(key, 0, key.length); in calculateCMSKeyChecksum()
319 sha1.doFinal(digest, 0); in calculateCMSKeyChecksum()
/external/ppp/pppd/
DMakefile.linux110 PPPDSRCS += sha1.c
111 HEADERS += sha1.h
112 PPPDOBJS += sha1.o
/external/wpa_supplicant_6/wpa_supplicant/
DMakefile51 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_o…
1202 test-sha1: $(TEST_SHA1_OBJS)
1204 ./test-sha1
1205 rm test-sha1
[all …]
/external/ipsec-tools/src/racoon/samples/roadwarrior/client/
Dracoon.conf20 hash_algorithm sha1;
/external/openssl/
Dimport_openssl.sh140 perl crypto/sha/asm/sha1-armv4-large.pl > crypto/sha/asm/sha1-armv4-large.s
/external/ipsec-tools/src/racoon/samples/roadwarrior/server/
Dracoon.conf18 hash_algorithm sha1;
Dracoon.conf-radius18 hash_algorithm sha1;
/external/webkit/SunSpider/tests/sunspider-0.9/
DLIST15 crypto-sha1
/external/webkit/SunSpider/tests/sunspider-0.9.1/
DLIST15 crypto-sha1
/external/openssl/crypto/pkcs7/t/
Dnav-smime12 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="--…
74 Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="--…

123