Searched refs:EVP_MD (Results 1 - 25 of 116) sorted by relevance

12345

/external/ppp/pppd/
H A Dopenssl-hash.c19 const EVP_MD *sha1_md;
20 const EVP_MD *md4_md;
21 const EVP_MD *md5_md;
H A Dopenssl-hash.h22 extern const EVP_MD *sha1_md;
35 extern const EVP_MD *md4_md;
44 extern const EVP_MD *md5_md;
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/digests/
H A DOpenSSLDigest.java33 * Holds the EVP_MD for the hashing algorithm, e.g. EVP_get_digestbyname("sha1");
126 private static final int EVP_MD = NativeCrypto.EVP_get_digestbyname("md5"); field in class:OpenSSLDigest.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); }
133 private static final int EVP_MD = NativeCrypto.EVP_get_digestbyname("sha1"); field in class:OpenSSLDigest.SHA1
134 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
135 private static final int BLOCK_SIZE = NativeCrypto.EVP_MD_block_size(EVP_MD);
136 public SHA1() { super("SHA-1", EVP_MD, SIZE, BLOCK_SIZE); }
140 private static final int EVP_MD field in class:OpenSSLDigest.SHA256
147 private static final int EVP_MD = NativeCrypto.EVP_get_digestbyname("sha384"); field in class:OpenSSLDigest.SHA384
154 private static final int EVP_MD = NativeCrypto.EVP_get_digestbyname("sha512"); field in class:OpenSSLDigest.SHA512
[all...]
/external/openssl/crypto/evp/
H A Dm_null.c74 static const EVP_MD null_md=
87 sizeof(EVP_MD *),
90 const EVP_MD *EVP_md_null(void)
H A Dm_sha1.c80 static const EVP_MD sha1_md=
93 sizeof(EVP_MD *)+sizeof(SHA_CTX),
96 const EVP_MD *EVP_sha1(void)
117 static const EVP_MD sha224_md=
130 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
133 const EVP_MD *EVP_sha224(void)
136 static const EVP_MD sha256_md=
149 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
152 const EVP_MD *EVP_sha256(void)
167 static const EVP_MD sha384_m
[all...]
H A Dm_ecdsa.c128 static const EVP_MD ecdsa_md=
141 sizeof(EVP_MD *)+sizeof(SHA_CTX),
144 const EVP_MD *EVP_ecdsa(void)
H A Dm_wp.c22 static const EVP_MD whirlpool_md=
35 sizeof(EVP_MD *)+sizeof(WHIRLPOOL_CTX),
38 const EVP_MD *EVP_whirlpool(void)
H A Dm_dss.c79 static const EVP_MD dsa_md=
92 sizeof(EVP_MD *)+sizeof(SHA_CTX),
95 const EVP_MD *EVP_dss(void)
H A Dm_dss1.c80 static const EVP_MD dss1_md=
93 sizeof(EVP_MD *)+sizeof(SHA_CTX),
96 const EVP_MD *EVP_dss1(void)
H A Dm_md4.c81 static const EVP_MD md4_md=
94 sizeof(EVP_MD *)+sizeof(MD4_CTX),
97 const EVP_MD *EVP_md4(void)
H A Dm_md5.c81 static const EVP_MD md5_md=
94 sizeof(EVP_MD *)+sizeof(MD5_CTX),
97 const EVP_MD *EVP_md5(void)
H A Dm_mdc2.c81 static const EVP_MD mdc2_md=
94 sizeof(EVP_MD *)+sizeof(MDC2_CTX),
97 const EVP_MD *EVP_mdc2(void)
H A Dm_ripemd.c81 static const EVP_MD ripemd160_md=
94 sizeof(EVP_MD *)+sizeof(RIPEMD160_CTX),
97 const EVP_MD *EVP_ripemd160(void)
H A Dnames.c77 int EVP_add_digest(const EVP_MD *md)
109 const EVP_MD *EVP_get_digestbyname(const char *name)
111 const EVP_MD *cp;
113 cp=(const EVP_MD *)OBJ_NAME_get(name,OBJ_NAME_TYPE_MD_METH);
172 void (*fn)(const EVP_MD *ciph,
182 dc->fn((const EVP_MD *)nm->data, nm->name, NULL, dc->arg);
185 void EVP_MD_do_all(void (*fn)(const EVP_MD *md,
194 void EVP_MD_do_all_sorted(void (*fn)(const EVP_MD *md,
H A Devp_lib.c247 int EVP_MD_block_size(const EVP_MD *md)
252 int EVP_MD_type(const EVP_MD *md)
257 int EVP_MD_pkey_type(const EVP_MD *md)
262 int EVP_MD_size(const EVP_MD *md)
272 unsigned long EVP_MD_flags(const EVP_MD *md)
277 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx)
H A Devp.h158 #ifndef EVP_MD
182 } /* EVP_MD */;
260 #endif /* !EVP_MD */
264 const EVP_MD *digest;
270 /* Update function: usually copied from EVP_MD */
405 const EVP_MD *md, int en_de);
433 int EVP_MD_type(const EVP_MD *md);
436 int EVP_MD_pkey_type(const EVP_MD *md);
437 int EVP_MD_size(const EVP_MD *md);
438 int EVP_MD_block_size(const EVP_MD *m
[all...]
/external/openssl/crypto/dsa/
H A Ddsa_locl.h58 const EVP_MD *evpmd, const unsigned char *seed_in, size_t seed_len,
H A Ddsa_pmeth.c74 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 *)p
[all...]
/external/openssl/crypto/hmac/
H A Dhmac.h77 const EVP_MD *md;
94 const EVP_MD *md); /* deprecated */
96 const EVP_MD *md, ENGINE *impl);
99 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
/external/openssl/include/openssl/
H A Dhmac.h77 const EVP_MD *md;
94 const EVP_MD *md); /* deprecated */
96 const EVP_MD *md, ENGINE *impl);
99 unsigned char *HMAC(const EVP_MD *evp_md, const void *key, int key_len,
H A Devp.h158 #ifndef EVP_MD
182 } /* EVP_MD */;
260 #endif /* !EVP_MD */
264 const EVP_MD *digest;
270 /* Update function: usually copied from EVP_MD */
405 const EVP_MD *md, int en_de);
433 int EVP_MD_type(const EVP_MD *md);
436 int EVP_MD_pkey_type(const EVP_MD *md);
437 int EVP_MD_size(const EVP_MD *md);
438 int EVP_MD_block_size(const EVP_MD *m
[all...]
/external/openssl/crypto/asn1/
H A Da_digest.c75 int ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data,
98 int ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *asn,
/external/openssl/crypto/engine/
H A Dtb_digest.c119 const EVP_MD *ENGINE_get_digest(ENGINE *e, int nid)
121 const EVP_MD *ret;
/external/openssl/crypto/pem/
H A Dpem_sign.c67 void PEM_SignInit(EVP_MD_CTX *ctx, EVP_MD *type)
/external/openssl/crypto/ec/
H A Dec_pmeth.c74 const EVP_MD *md;
223 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 &&
224 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 &&
225 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 &&
226 EVP_MD_type((const EVP_MD *)p2) != NID_sha384 &&
227 EVP_MD_type((const EVP_MD *)p2) != NID_sha512)

Completed in 278 milliseconds

12345