HomeSort by relevance Sort by last modified time
    Searched full:evp_md (Results 1 - 25 of 278) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
OpenSSLDigest.java 33 * Holds the EVP_MD for the hashing algorithm, e.g. EVP_get_digestbyname("sha1");
35 private final long evp_md; field in class:OpenSSLDigest
63 private OpenSSLDigest(String algorithm, long evp_md, int size, int blockSize) {
65 this.evp_md = evp_md;
104 ctx = NativeCrypto.EVP_DigestInit(evp_md);
126 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("md5");
127 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
128 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD);
129 public MD5() { super("MD5", EVP_MD, SIZE, BLOCK_SIZE);
    [all...]
  /libcore/crypto/src/main/java/org/conscrypt/
OpenSSLMac.java 33 * Holds the EVP_MD for the hashing algorithm, e.g.
36 private final long evp_md; field in class:OpenSSLMac
58 private OpenSSLMac(long evp_md, int size, int evp_pkey_type) {
59 this.evp_md = evp_md;
97 NativeCrypto.EVP_DigestSignInit(ctx.getContext(), evp_md, macKey.getPkeyContext()); local
124 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("md5");
125 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
128 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC);
133 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha1")
    [all...]
OpenSSLMessageDigestJDK.java 33 * Holds the EVP_MD for the hashing algorithm, e.g. EVP_get_digestbyname("sha1");
35 private final long evp_md; field in class:OpenSSLMessageDigestJDK
51 private OpenSSLMessageDigestJDK(String algorithm, long evp_md, int size)
54 this.evp_md = evp_md;
95 ctx = NativeCrypto.EVP_DigestInit(evp_md);
116 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("md5");
117 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
119 super("MD5",EVP_MD, SIZE);
124 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha1")
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/evp/
m_wp.c 23 static const EVP_MD whirlpool_md=
36 sizeof(EVP_MD *)+sizeof(WHIRLPOOL_CTX),
39 const EVP_MD *EVP_whirlpool(void)
m_sha1.c 83 static const EVP_MD sha1_md=
96 sizeof(EVP_MD *)+sizeof(SHA_CTX),
99 const EVP_MD *EVP_sha1(void)
120 static const EVP_MD sha224_md=
133 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
136 const EVP_MD *EVP_sha224(void)
139 static const EVP_MD sha256_md=
152 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
155 const EVP_MD *EVP_sha256(void)
170 static const EVP_MD sha384_md
    [all...]
evp.h 159 #ifndef EVP_MD
183 } /* EVP_MD */;
263 #endif /* !EVP_MD */
267 const EVP_MD *digest;
273 /* Update function: usually copied from EVP_MD */
448 const EVP_MD *md, int en_de);
476 int EVP_MD_type(const EVP_MD *md);
479 int EVP_MD_pkey_type(const EVP_MD *md);
480 int EVP_MD_size(const EVP_MD *md);
481 int EVP_MD_block_size(const EVP_MD *md)
    [all...]
  /external/openssl/crypto/evp/
m_wp.c 23 static const EVP_MD whirlpool_md=
36 sizeof(EVP_MD *)+sizeof(WHIRLPOOL_CTX),
39 const EVP_MD *EVP_whirlpool(void)
m_sha1.c 83 static const EVP_MD sha1_md=
96 sizeof(EVP_MD *)+sizeof(SHA_CTX),
99 const EVP_MD *EVP_sha1(void)
120 static const EVP_MD sha224_md=
133 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
136 const EVP_MD *EVP_sha224(void)
139 static const EVP_MD sha256_md=
152 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
155 const EVP_MD *EVP_sha256(void)
170 static const EVP_MD sha384_md
    [all...]
  /external/ppp/pppd/
openssl-hash.c 19 const EVP_MD *sha1_md;
20 const EVP_MD *md4_md;
21 const EVP_MD *md5_md;
openssl-hash.h 22 extern const EVP_MD *sha1_md;
35 extern const EVP_MD *md4_md;
44 extern const EVP_MD *md5_md;
  /external/openssh/
kexdh.c 54 const EVP_MD *evp_md = EVP_sha1(); local
77 EVP_DigestInit(&md, evp_md);
84 dump_digest("hash", digest, EVP_MD_size(evp_md));
87 *hashlen = EVP_MD_size(evp_md);
schnorr.h 30 int hash_buffer(const u_char *, u_int, const EVP_MD *, u_char **, u_int *);
43 const EVP_MD *evp_md, const BIGNUM *x, const BIGNUM *g_x,
51 const EVP_MD *evp_md, const BIGNUM *g_x, const u_char *id, u_int idlen,
kex.h 103 const EVP_MD *evp_md; member in struct:Mac
131 const EVP_MD *evp_md; member in struct:Kex
163 kexgex_hash(const EVP_MD *, char *, char *, char *, int, char *,
168 kex_ecdh_hash(const EVP_MD *, const EC_GROUP *, char *, char *, char *, int,
172 const EVP_MD *kex_ecdh_name_to_evpmd(const char *);
kexecdh.c 56 const EVP_MD *
68 const EVP_MD *evp_md,
104 EVP_DigestInit(&md, evp_md);
111 dump_digest("hash", digest, EVP_MD_size(evp_md));
114 *hashlen = EVP_MD_size(evp_md);
md-sha256.c 37 const EVP_MD *evp_ssh_sha256(void);
67 const EVP_MD *
70 static EVP_MD ssh_sha256;
ssh-ecdsa.c 51 const EVP_MD *evp_md; local
62 evp_md = key_ec_nid_to_evpmd(key->ecdsa_nid);
63 EVP_DigestInit(&md, evp_md);
100 const EVP_MD *evp_md; local
113 evp_md = key_ec_nid_to_evpmd(key->ecdsa_nid);
154 EVP_DigestInit(&md, evp_md);
mac.c 53 const EVP_MD * (*mdfunc)(void);
80 mac->evp_md = (*macs[which].mdfunc)();
81 if ((evp_len = EVP_MD_size(mac->evp_md)) <= 0)
117 if (mac->evp_md == NULL)
119 HMAC_Init(&mac->evp_ctx, mac->key, mac->key_len, mac->evp_md);
165 } else if (mac->evp_md != NULL)
167 mac->evp_md = NULL;
kexgex.c 42 const EVP_MD *evp_md,
88 EVP_DigestInit(&md, evp_md);
94 *hashlen = EVP_MD_size(evp_md);
  /external/chromium_org/third_party/openssl/openssl/crypto/dsa/
dsa_pmeth.c 74 const EVP_MD *pmd; /* MD for parameter generation */
78 const EVP_MD *md; /* MD for the signature */
177 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
178 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
179 EVP_MD_type((const EVP_MD *)p2) != NID_sha256)
188 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
189 EVP_MD_type((const EVP_MD *)p2) != NID_dsa &&
190 EVP_MD_type((const EVP_MD *)p2) != NID_dsaWithSHA &&
191 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
192 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &
    [all...]
  /external/openssl/crypto/dsa/
dsa_pmeth.c 74 const EVP_MD *pmd; /* MD for parameter generation */
78 const EVP_MD *md; /* MD for the signature */
177 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
178 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
179 EVP_MD_type((const EVP_MD *)p2) != NID_sha256)
188 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
189 EVP_MD_type((const EVP_MD *)p2) != NID_dsa &&
190 EVP_MD_type((const EVP_MD *)p2) != NID_dsaWithSHA &&
191 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
192 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/
doc 5 EVP_MD *dgst);
  /external/openssl/crypto/pkcs7/
doc 5 EVP_MD *dgst);
  /external/chromium_org/third_party/libjingle/source/talk/base/
openssldigest.h 52 const EVP_MD** md);
54 static bool GetDigestName(const EVP_MD* md,
62 const EVP_MD* md_;
openssldigest.cc 75 const EVP_MD** mdp) {
76 const EVP_MD* md;
101 bool OpenSSLDigest::GetDigestName(const EVP_MD* md,
131 const EVP_MD *md;
  /external/chromium_org/crypto/
signature_verifier_openssl.cc 21 const EVP_MD* ToOpenSSLDigest(SignatureVerifier::HashAlgorithm hash_alg) {
57 const EVP_MD* digest;
82 const EVP_MD* digest = ToOpenSSLDigest(hash_alg);
123 bool SignatureVerifier::CommonInit(const EVP_MD* digest,

Completed in 1366 milliseconds

1 2 3 4 5 6 7 8 91011>>