Searched refs:SHA1 (Results 1 - 25 of 65) sorted by relevance

123

/external/syslinux/utils/
H A Dsha1pass4 use Digest::SHA1;
32 $pass = Digest::SHA1::sha1_base64($salt, $pass);
/external/conscrypt/common/src/main/java/org/conscrypt/
H A DEvpMdRef.java43 } else if ((SHA1.JCA_NAME.equals(algorithmUpper)) || (SHA1.OID.equals(algorithmUpper))) {
44 return SHA1.JCA_NAME;
63 } else if (SHA1.JCA_NAME.equals(algorithmUpper)) {
64 return EvpMdRef.SHA1.EVP_MD;
81 } else if (SHA1.JCA_NAME.equals(algorithmUpper)) {
82 return EvpMdRef.SHA1.SIZE_BYTES;
95 } else if (evpMdRef == SHA1.EVP_MD) {
96 return SHA1.JCA_NAME;
119 public static final class SHA1 { class in class:EvpMdRef
124 private SHA1() {} method in class:EvpMdRef.SHA1
[all...]
H A DOpenSSLMessageDigestJDK.java166 public static class SHA1 extends OpenSSLMessageDigestJDK { class in class:OpenSSLMessageDigestJDK
167 public SHA1() throws NoSuchAlgorithmException { method in class:OpenSSLMessageDigestJDK.SHA1
168 super(EvpMdRef.SHA1.EVP_MD, EvpMdRef.SHA1.SIZE_BYTES);
H A DOpenSSLMac.java168 super(EvpMdRef.SHA1.EVP_MD, EvpMdRef.SHA1.SIZE_BYTES);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
H A DTwofish.java93 super("PBEwithSHAandTwofish-CBC", null, true, PKCS12, SHA1, 256, 128);
105 super(new CBCBlockCipher(new TwofishEngine()), PKCS12, SHA1, 256, 16);
H A DARC4.java46 super("PBEWithSHAAnd128BitRC4", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC4, true, PKCS12, SHA1, 128, 0);
58 super("PBEWithSHAAnd128BitRC4", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC4, true, PKCS12, SHA1, 40, 0);
71 super(new RC4Engine(), 0, 128, SHA1);
83 super(new RC4Engine(), 0, 40, SHA1);
H A DRC2.java111 super("PBEwithSHA1andRC2", PKCSObjectIdentifiers.pbeWithSHA1AndRC2_CBC, true, PKCS5S1, SHA1, 64, 64);
123 super("PBEwithSHAand128BitRC2-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd128BitRC2_CBC, true, PKCS12, SHA1, 128, 64);
135 super("PBEwithSHAand40BitRC2-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd40BitRC2_CBC, true, PKCS12, SHA1, 40, 64);
159 super(new CBCBlockCipher(new RC2Engine()), PKCS5S1, SHA1, 64, 8);
171 super(new CBCBlockCipher(new RC2Engine()), PKCS12, SHA1, 128, 8);
183 super(new CBCBlockCipher(new RC2Engine()), PKCS12, SHA1, 40, 8);
H A DPBEPBKDF2.java134 this(name, scheme, SHA1);
243 return SHA1;
325 super(name, scheme, SHA1);
415 super("PBEWithHmacSHA1AndAES_128", PKCS5S2_UTF8, SHA1, 128, 128);
451 super("PBEWithHmacSHA1AndAES_256", PKCS5S2_UTF8, SHA1, 256, 128);
497 // com.android.org.bouncycastle.jcajce.provider.digest,SHA1, duplicated with respect to here. This
499 // some other of these services in SHA1 (for fixed key sizes). Then the duplicate
500 // algorithms were removed upstream from SHA1 in
503 // had been added to SHA1 was moved here, and the rest of the services provided by this
H A DDESede.java222 super(new CBCBlockCipher(new DESedeEngine()), PKCS12, SHA1, 192, 8);
234 super(new CBCBlockCipher(new DESedeEngine()), PKCS12, SHA1, 128, 8);
246 super("PBEwithSHAandDES3Key-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd3_KeyTripleDES_CBC, true, PKCS12, SHA1, 192, 64);
258 super("PBEwithSHAandDES2Key-CBC", PKCSObjectIdentifiers.pbeWithSHAAnd2_KeyTripleDES_CBC, true, PKCS12, SHA1, 128, 64);
/external/llvm/include/llvm/Support/
H A DSHA1.h1 //==- SHA1.h - SHA1 implementation for LLVM --*- C++ -*-==//
27 /// A class that wrap the SHA1 algorithm.
28 class SHA1 { class in namespace:llvm
30 SHA1() { init(); } function in class:llvm::SHA1
44 /// Return a reference to the current raw 160-bits SHA1 for the digested data
50 /// Return a reference to the current raw 160-bits SHA1 for the digested data
51 /// since the last call to init(). This is suitable for getting the SHA1 at
H A Draw_sha1_ostream.h1 //==- raw_sha1_ostream.h - raw_ostream that compute SHA1 --*- C++ -*-==//
18 #include "llvm/Support/SHA1.h"
25 SHA1 State;
33 /// Return the current SHA1 hash for the content of the stream
/external/llvm/lib/Support/
H A DSHA1.cpp1 //======- SHA1.h - Private copy of the SHA1 implementation ---*- C++ -* ======//
17 #include "llvm/Support/SHA1.h"
40 void SHA1::init() {
54 void SHA1::hashBlock() {
93 void SHA1::addUncounted(uint8_t data) {
107 void SHA1::writebyte(uint8_t data) {
112 void SHA1::update(ArrayRef<uint8_t> Data) {
117 void SHA1::pad() {
137 StringRef SHA1
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
H A DAndroidDigestFactoryOpenSSL.java26 return new OpenSSLDigest.SHA1();
H A DOpenSSLDigest.java78 public static class SHA1 extends OpenSSLDigest { class in class:OpenSSLDigest
79 public SHA1() { super("SHA-1", 64); } method in class:OpenSSLDigest.SHA1
/external/vboot_reference/utility/
H A Ddev_make_keypair19 0 = RSA1024 with SHA1
22 3 = RSA2048 with SHA1
25 6 = RSA4096 with SHA1
28 9 = RSA8192 with SHA1
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/digest/
H A DSHA1.java20 public class SHA1 class
22 private SHA1() method in class:SHA1
47 * SHA1 HMac
68 * SHA1 HMac
87 super("PBEwithHmacSHA", null, false, PKCS12, SHA1, 160, 0);
94 private static final String PREFIX = SHA1.class.getName();
103 provider.addAlgorithm("Alg.Alias.MessageDigest.SHA1", "SHA-1");
107 addHMACAlgorithm(provider, "SHA1", PREFIX + "$HashMac", PREFIX + "$KeyGenerator");
108 addHMACAlias(provider, "SHA1", PKCSObjectIdentifiers.id_hmacWithSHA1);
109 addHMACAlias(provider, "SHA1", IANAObjectIdentifier
[all...]
/external/guava/guava-tests/test/com/google/common/hash/
H A DHashFunctionEnum.java34 SHA1(Hashing.sha1()), enum constant in enum:HashFunctionEnum
/external/libchrome/crypto/
H A Dhmac.cc28 case SHA1:
H A Dhmac.h6 // only support SHA1 for the hash algorithm, but this can be extended easily.
30 SHA1, enumerator in enum:crypto::HMAC::HashAlgorithm
H A Dsignature_creator.h35 SHA1, enumerator in enum:crypto::SignatureCreator::HashAlgorithm
H A Dsignature_verifier_nss.cc25 case SignatureVerifier::SHA1:
77 hash_alg_(SHA1),
78 mask_hash_alg_(SHA1),
H A Dhmac_unittest.cc80 crypto::HMAC hmac(crypto::HMAC::SHA1);
149 crypto::HMAC hmac(crypto::HMAC::SHA1);
216 crypto::HMAC hmac(crypto::HMAC::SHA1);
241 crypto::HMAC hmac(crypto::HMAC::SHA1);
255 crypto::HMAC hmac(crypto::HMAC::SHA1);
289 crypto::HMAC hmac(crypto::HMAC::SHA1);
H A Dsignature_creator_nss.cc23 case SignatureCreator::SHA1:
33 case SignatureCreator::SHA1:
/external/robolectric/v1/
H A Dupdate-downloads.rb16 sha1 = Digest::SHA1.hexdigest File.read(f)
/external/conscrypt/platform/src/main/java/org/conscrypt/ct/
H A DDigitallySigned.java29 SHA1, enum constant in enum:DigitallySigned.HashAlgorithm

Completed in 4891 milliseconds

123