/dalvik/libcore/security/src/test/java/tests/targets/security/ |
AlgorithmParametersTestOAEP.java | 29 super("OAEP", new AlgorithmParameterAsymmetricHelper("RSA"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT));
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSignature.java | 63 * @param algorithm The name of the algorithm, e.g. "SHA1". 77 * @param algorithm The name of the algorithm, e.g. "SHA1". 96 // For the special combination of DSA and SHA1, we need to pass the 100 // doesn't accept something like RSA-SHA1.
|
/dalvik/libdex/ |
Android.mk | 29 sha1.c \
|
/external/dropbear/ |
common-algo.c | 113 {"hmac-sha1-96", 0, (void*)&dropbear_sha1_96, 1}, 116 {"hmac-sha1", 0, (void*)&dropbear_sha1, 1}, 143 {"diffie-hellman-group1-sha1", DROPBEAR_KEX_DH_GROUP1, NULL, 1}, 169 /* we need sha1 for hostkey stuff regardless */
|
signkey.c | 273 /* Since we're not sure if we'll have md5 or sha1, we present both. 274 * MD5 is used in preference, but sha1 could still be useful */ 310 #else /* use SHA1 rather than MD5 for fingerprint */ 327 /* "sha1 hexfingerprinthere\0", each hex digit is "AB:" etc */ 331 strcpy(ret, "sha1 "); 344 #endif /* MD5/SHA1 switch */ 347 * in either sha1 or md5 */
|
/external/ipsec-tools/src/racoon/samples/ |
racoon.conf.sample-gssapi | 23 hash_algorithm sha1;
|
racoon.conf.sample-plainrsa | 33 hash_algorithm sha1;
|
/external/openssl/patches/ |
README | 8 ARM assembly routines (AES, BN, SHA1, SHA256, SHA512)
|
/external/wpa_supplicant/ |
sha1.h | 2 * SHA1 hash implementation and interface functions
|
sha1.c | 2 * SHA1 hash implementation and interface functions 18 #include "sha1.h" 24 * hmac_sha1_vector - HMAC-SHA1 over data vector (RFC 2104) 48 /* if key is longer than 64 bytes reset it to key = SHA1(key) */ 57 * SHA1(K XOR opad, SHA1(K XOR ipad, text)) 71 /* perform inner SHA1 */ 86 /* perform outer SHA1 */ 96 * hmac_sha1 - HMAC-SHA1 over data buffer (RFC 2104) 111 * sha1_prf - SHA1-based Pseudo-Random Function (PRF) (IEEE 802.11i, 8.5.1.1 [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
sha1.h | 2 * SHA1 hash implementation and interface functions
|
crypto_internal.c | 20 #include "sha1.h" 60 struct SHA1Context sha1; member in union:crypto_hash::__anon6833 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...] |
sha1.c | 2 * SHA1 hash implementation and interface functions 18 #include "crypto/sha1.h" 24 * hmac_sha1_vector - HMAC-SHA1 over data vector (RFC 2104) 48 /* if key is longer than 64 bytes reset it to key = SHA1(key) */ 57 * SHA1(K XOR opad, SHA1(K XOR ipad, text)) 71 /* perform inner SHA1 */ 86 /* perform outer SHA1 */ 96 * hmac_sha1 - HMAC-SHA1 over data buffer (RFC 2104) 111 * sha1_prf - SHA1-based Pseudo-Random Function (PRF) (IEEE 802.11i, 8.5.1.1 [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
JCEMac.java | 40 private int pbeHash = SHA1; 383 * SHA1 HMac 385 public static class SHA1 388 public SHA1() 527 super(new HMac(new SHA1Digest()), PKCS12, SHA1, 160);
|
BrokenJCEBlockCipher.java | 65 private int pbeHash = SHA1; 571 super(new CBCBlockCipher(new DESEngine()), PKCS5S1, SHA1, 64, 64); 583 super(new CBCBlockCipher(new DESedeEngine()), PKCS12, SHA1, 192, 64); 595 super(new CBCBlockCipher(new DESedeEngine()), OLD_PKCS12, SHA1, 192, 64); 607 super(new CBCBlockCipher(new DESedeEngine()), PKCS12, SHA1, 128, 64); 620 // super(new CBCBlockCipher(new TwofishEngine()), OLD_PKCS12, SHA1, 256, 128);
|
BrokenPBE.java | 45 * accept MD5, SHA1, and RIPEMD160. 255 static final int SHA1 = 1; 303 case SHA1: 307 throw new IllegalStateException("PKCS5 scheme 1 only supports only MD5 and SHA1."); 321 case SHA1: 340 case SHA1:
|
/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
|
/build/tools/signapk/ |
SignApk.java | 73 * a way compatible with the mincrypt verifier, using SHA1 and RSA keys. 169 /** Add the SHA1 of every file to the manifest, creating it if necessary. */ 183 MessageDigest md = MessageDigest.getInstance("SHA1"); 212 attr.putValue("SHA1-Digest", base64.encode(md.digest())); 259 MessageDigest md = MessageDigest.getInstance("SHA1"); 267 main.putValue("SHA1-Digest-Manifest", base64.encode(md.digest())); 280 sfAttr.putValue("SHA1-Digest", base64.encode(md.digest())); 294 AlgorithmId.get("SHA1"), 299 new AlgorithmId[] { AlgorithmId.get("SHA1") },
|
/build/tools/releasetools/ |
edify_generator.py | 113 def PatchCheck(self, filename, *sha1): 115 given *sha1 hashes, checking the version saved in cache if the 118 "".join([', "%s"' % (i,) for i in sha1]) + 121 def FileCheck(self, filename, *sha1): 123 given *sha1 hashes.""" 125 "".join([', "%s"' % (i,) for i in sha1]) +
|
/external/openssl/crypto/objects/ |
objects.h | 364 #define SN_sha1 "SHA1" 365 #define LN_sha1 "sha1" 371 #define SN_sha1WithRSAEncryption "RSA-SHA1" 387 #define SN_pbeWithSHA1AndRC2_CBC "PBE-SHA1-RC2-64" 400 #define SN_dsaWithSHA1_2 "DSA-SHA1-old" 608 * id-dsa-with-sha1 ID ::= { 611 #define SN_dsaWithSHA1 "DSA-SHA1" 617 #define SN_md5_sha1 "MD5-SHA1" 618 #define LN_md5_sha1 "md5-sha1" 620 #define SN_sha1WithRSA "RSA-SHA1-2 [all...] |
/external/openssl/include/openssl/ |
objects.h | 364 #define SN_sha1 "SHA1" 365 #define LN_sha1 "sha1" 371 #define SN_sha1WithRSAEncryption "RSA-SHA1" 387 #define SN_pbeWithSHA1AndRC2_CBC "PBE-SHA1-RC2-64" 400 #define SN_dsaWithSHA1_2 "DSA-SHA1-old" 608 * id-dsa-with-sha1 ID ::= { 611 #define SN_dsaWithSHA1 "DSA-SHA1" 617 #define SN_md5_sha1 "MD5-SHA1" 618 #define LN_md5_sha1 "md5-sha1" 620 #define SN_sha1WithRSA "RSA-SHA1-2 [all...] |
/dalvik/libcore/crypto/src/main/java/javax/crypto/spec/ |
OAEPParameterSpec.java | 43 * <li>parameters for the <i>mgf</i> : "SHA-1" {@link MGF1ParameterSpec#SHA1}</li> 52 this.mgfSpec = MGF1ParameterSpec.SHA1;
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/pkcs/ |
RSAESOAEPparams.java | 109 * hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1, 115 * { OID id-sha1 PARAMETERS NULL }|
|
RSASSAPSSparams.java | 123 * hashAlgorithm [0] OAEP-PSSDigestAlgorithms DEFAULT sha1, 130 * { OID id-sha1 PARAMETERS NULL }|
|
/dalvik/libcore/security/src/test/java/tests/security/spec/ |
MGF1ParameterSpecTest.java | 115 method = "!field SHA1", 139 assertEquals("SHA-1", MGF1ParameterSpec.SHA1.getDigestAlgorithm());
|