/external/webkit/Source/WebCore/ForwardingHeaders/wtf/ |
SHA1.h | 3 #include <JavaScriptCore/SHA1.h>
|
/external/webkit/Source/JavaScriptCore/wtf/ |
SHA1.h | 38 class SHA1 { 40 SHA1(); 64 using WTF::SHA1;
|
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...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
PSSParameterSpecTest.java | 79 MGF1ParameterSpec.SHA1, 20, 1); 94 new PSSParameterSpec(null, "MGF1", MGF1ParameterSpec.SHA1, 20, 1); 111 new PSSParameterSpec("SHA-1", null, MGF1ParameterSpec.SHA1, 20, 1); 129 MGF1ParameterSpec.SHA1, -20, 1); 147 MGF1ParameterSpec.SHA1, 20, -1); 171 MGF1ParameterSpec.SHA1, 20, 1); 181 MGF1ParameterSpec.SHA1, 20, 1); 191 MGF1ParameterSpec.SHA1, 20, 1); 192 assertTrue(MGF1ParameterSpec.SHA1.equals(pssps.getMGFParameters())); 223 MGF1ParameterSpec.SHA1, 20, 1) [all...] |
MGF1ParameterSpecTest.java | 88 assertEquals("SHA-1", MGF1ParameterSpec.SHA1.getDigestAlgorithm());
|
/libcore/luni/src/test/java/tests/security/spec/ |
PSSParameterSpecTest.java | 71 MGF1ParameterSpec.SHA1, 20, 1); 86 new PSSParameterSpec(null, "MGF1", MGF1ParameterSpec.SHA1, 20, 1); 103 new PSSParameterSpec("SHA-1", null, MGF1ParameterSpec.SHA1, 20, 1); 121 MGF1ParameterSpec.SHA1, -20, 1); 139 MGF1ParameterSpec.SHA1, 20, -1); 163 MGF1ParameterSpec.SHA1, 20, 1); 173 MGF1ParameterSpec.SHA1, 20, 1); 183 MGF1ParameterSpec.SHA1, 20, 1); 184 assertTrue(MGF1ParameterSpec.SHA1.equals(pssps.getMGFParameters())); 215 MGF1ParameterSpec.SHA1, 20, 1) [all...] |
MGF1ParameterSpecTest.java | 89 assertEquals("SHA-1", MGF1ParameterSpec.SHA1.getDigestAlgorithm());
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
AndroidDigestFactoryOpenSSL.java | 26 return new OpenSSLDigest.SHA1();
|
/libcore/luni/src/main/java/java/security/spec/ |
MGF1ParameterSpec.java | 34 public static final MGF1ParameterSpec SHA1 =
|
PSSParameterSpec.java | 34 * <li>parameters for the <i>mgf</i>: {@link MGF1ParameterSpec#SHA1}</li> 68 this.mgfSpec = MGF1ParameterSpec.SHA1;
|
/libcore/luni/src/test/java/libcore/javax/crypto/spec/ |
AlgorithmParametersTestOAEP.java | 27 super("OAEP", new AlgorithmParameterAsymmetricHelper("RSA"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT));
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
OAEPParameterSpecTest.java | 49 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; 83 + "as MGF1ParameterSpec.SHA1", 85 == MGF1ParameterSpec.SHA1); 99 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; 115 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; 131 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; 147 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
OAEPParameterSpecTest.java | 49 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; 83 + "as MGF1ParameterSpec.SHA1", 85 == MGF1ParameterSpec.SHA1); 99 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; 115 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; 131 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1; 147 AlgorithmParameterSpec mgfSpec = MGF1ParameterSpec.SHA1;
|
/external/openssl/crypto/sha/ |
sha1_one.c | 65 unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
JCESecretKeyFactory.java | 313 super("PBEwithSHA1andDES", PKCSObjectIdentifiers.pbeWithSHA1AndDES_CBC, true, PKCS5S1, SHA1, 64, 64); 325 super("PBEwithSHA1andRC2", PKCSObjectIdentifiers.pbeWithSHA1AndRC2_CBC, true, PKCS5S1, SHA1, 64, 64); 337 super("PBEwithSHAandDES3Key-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd3_KeyTripleDES_CBC, true, PKCS12, SHA1, 192, 64); 349 super("PBEwithSHAandDES2Key-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd2_KeyTripleDES_CBC, true, PKCS12, SHA1, 128, 64); 361 super("PBEwithSHAand128BitRC2-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC2_CBC, true, PKCS12, SHA1, 128, 64); 373 super("PBEwithSHAand40BitRC2-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd40BitRC2_CBC, true, PKCS12, SHA1, 40, 64); 385 super("PBEwithSHAandTwofish-CBC", null, true, PKCS12, SHA1, 256, 128); 397 super("PBEWithSHAAnd128BitRC4", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC4, true, PKCS12, SHA1, 128, 0); 409 super("PBEWithSHAAnd128BitRC4", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC4, true, PKCS12, SHA1, 40, 0); 435 super("PBEwithHmacSHA", null, false, PKCS12, SHA1, 160, 0) [all...] |
JCEMac.java | 55 private int pbeHash = SHA1; 279 * SHA1 HMac 281 public static class SHA1 284 public SHA1() 437 super(new HMac(AndroidDigestFactory.getSHA1()), PKCS12, SHA1, 160);
|
/external/chromium/crypto/ |
hmac.h | 6 // only support SHA1 for the hash algorithm, but this can be extended easily. 26 SHA1,
|
hmac_mac.cc | 20 DCHECK(hash_alg_ == SHA1 || hash_alg_ == SHA256); 48 case SHA1:
|
hmac_openssl.cc | 26 DCHECK(hash_alg_ == SHA1 || hash_alg_ == SHA256); 50 return ::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(),
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/ |
SHA1.java | 13 public class SHA1 35 * SHA1 HMac 58 private static final String PREFIX = SHA1.class.getName(); 67 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA1", "SHA-1"); 71 addHMACAlgorithm(provider, "SHA1", PREFIX + "$HashMac", PREFIX + "$KeyGenerator"); 72 addHMACAlias(provider, "SHA1", PKCSObjectIdentifiers.id_hmacWithSHA1); 73 addHMACAlias(provider, "SHA1", IANAObjectIdentifiers.hmacSHA1);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/digest/ |
MAC.java | 22 return new String[]{"hmac-sha1-96", "hmac-sha1", "hmac-md5-96", "hmac-md5"}; 33 if (type.equals("hmac-sha1")) 35 if (type.equals("hmac-sha1-96")) 46 if (type.equals("hmac-sha1")) 48 mac = new HMAC(new SHA1(), key, 20); 50 else if (type.equals("hmac-sha1-96")) 52 mac = new HMAC(new SHA1(), key, 12);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseMac.java | 52 private int pbeHash = SHA1; 294 * SHA1 HMac 296 public static class SHA1 299 public SHA1() 445 super(new HMac(AndroidDigestFactory.getSHA1()), PKCS12, SHA1, 160);
|
/external/robolectric/ |
update-downloads.rb | 12 require 'digest/sha1' 16 sha1 = Digest::SHA1.hexdigest File.read(f) 28 download_html += " <td class=\"sha\">#{sha1}</td>\n"
|
/libcore/benchmarks/src/benchmarks/regression/ |
MessageDigestBenchmark.java | 35 public enum Algorithm { MD5, SHA1, SHA256, SHA384, SHA512 };
|
/libcore/luni/src/main/java/javax/crypto/spec/ |
OAEPParameterSpec.java | 42 * <li>parameters for the <i>mgf</i> : "SHA-1" {@link MGF1ParameterSpec#SHA1}</li> 51 this.mgfSpec = MGF1ParameterSpec.SHA1;
|