Home
last modified time | relevance | path

Searched refs:EVP_MD (Results 1 – 25 of 191) sorted by relevance

12345678

/external/chromium_org/third_party/boringssl/src/include/openssl/
Ddigest.h79 OPENSSL_EXPORT const EVP_MD *EVP_md4(void);
80 OPENSSL_EXPORT const EVP_MD *EVP_md5(void);
81 OPENSSL_EXPORT const EVP_MD *EVP_sha1(void);
82 OPENSSL_EXPORT const EVP_MD *EVP_sha224(void);
83 OPENSSL_EXPORT const EVP_MD *EVP_sha256(void);
84 OPENSSL_EXPORT const EVP_MD *EVP_sha384(void);
85 OPENSSL_EXPORT const EVP_MD *EVP_sha512(void);
89 OPENSSL_EXPORT const EVP_MD *EVP_get_digestbynid(int nid);
93 OPENSSL_EXPORT const EVP_MD *EVP_get_digestbyobj(const ASN1_OBJECT *obj);
125 OPENSSL_EXPORT int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type,
[all …]
Devp.h230 const EVP_MD *type, ENGINE *e,
261 const EVP_MD *type, ENGINE *e,
288 OPENSSL_EXPORT int EVP_SignInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type,
294 OPENSSL_EXPORT int EVP_SignInit(EVP_MD_CTX *ctx, const EVP_MD *type);
322 OPENSSL_EXPORT int EVP_VerifyInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type,
328 OPENSSL_EXPORT int EVP_VerifyInit(EVP_MD_CTX *ctx, const EVP_MD *type);
376 unsigned iterations, const EVP_MD *digest,
556 const EVP_MD *md);
562 const EVP_MD **out_md);
643 const EVP_MD *md);
[all …]
Dhmac.h79 OPENSSL_EXPORT uint8_t *HMAC(const EVP_MD *evp_md, const void *key,
101 const EVP_MD *md, ENGINE *impl);
138 const EVP_MD *md);
146 const EVP_MD *md;
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLMessageDigestJDK.java96 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("md5"); field in OpenSSLMessageDigestJDK.MD5
97 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
99 super(EVP_MD, SIZE); in MD5()
104 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha1"); field in OpenSSLMessageDigestJDK.SHA1
105 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
107 super(EVP_MD, SIZE); in SHA1()
112 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha224"); field in OpenSSLMessageDigestJDK.SHA224
113 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
115 super(EVP_MD, SIZE); in SHA224()
120 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha256"); field in OpenSSLMessageDigestJDK.SHA256
[all …]
DOpenSSLSignature.java228 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("RSA-MD5"); field in OpenSSLSignature.MD5RSA
230 super(EVP_MD, EngineType.RSA); in MD5RSA()
234 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("RSA-SHA1"); field in OpenSSLSignature.SHA1RSA
236 super(EVP_MD, EngineType.RSA); in SHA1RSA()
240 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("RSA-SHA224"); field in OpenSSLSignature.SHA224RSA
242 super(EVP_MD, EngineType.RSA); in SHA224RSA()
246 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("RSA-SHA256"); field in OpenSSLSignature.SHA256RSA
248 super(EVP_MD, EngineType.RSA); in SHA256RSA()
252 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("RSA-SHA384"); field in OpenSSLSignature.SHA384RSA
254 super(EVP_MD, EngineType.RSA); in SHA384RSA()
[all …]
DOpenSSLMac.java131 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("md5"); field in OpenSSLMac.HmacMD5
132 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
135 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC); in HmacMD5()
140 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha1"); field in OpenSSLMac.HmacSHA1
141 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
144 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC); in HmacSHA1()
149 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha224"); field in OpenSSLMac.HmacSHA224
150 private static final int SIZE = NativeCrypto.EVP_MD_size(EVP_MD);
153 super(EVP_MD, SIZE, NativeCrypto.EVP_PKEY_HMAC); in HmacSHA224()
158 private static final long EVP_MD = NativeCrypto.EVP_get_digestbyname("sha256"); field in OpenSSLMac.HmacSHA256
[all …]
/external/openssl/crypto/evp/
Dm_sha1.c83 static const EVP_MD sha1_md=
96 sizeof(EVP_MD *)+sizeof(SHA_CTX),
99 const EVP_MD *EVP_sha1(void) in EVP_sha1()
120 static const EVP_MD sha224_md=
133 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
136 const EVP_MD *EVP_sha224(void) in EVP_sha224()
139 static const EVP_MD sha256_md=
152 sizeof(EVP_MD *)+sizeof(SHA256_CTX),
155 const EVP_MD *EVP_sha256(void) in EVP_sha256()
170 static const EVP_MD sha384_md=
[all …]
Dnames.c81 int EVP_add_digest(const EVP_MD *md) in EVP_add_digest()
114 const EVP_MD *EVP_get_digestbyname(const char *name) in EVP_get_digestbyname()
116 const EVP_MD *cp; in EVP_get_digestbyname()
118 cp=(const EVP_MD *)OBJ_NAME_get(name,OBJ_NAME_TYPE_MD_METH); in EVP_get_digestbyname()
177 void (*fn)(const EVP_MD *ciph,
187 dc->fn((const EVP_MD *)nm->data, nm->name, NULL, dc->arg); in do_all_md_fn()
190 void EVP_MD_do_all(void (*fn)(const EVP_MD *md, in EVP_MD_do_all()
199 void EVP_MD_do_all_sorted(void (*fn)(const EVP_MD *md, in EVP_MD_do_all_sorted()
Devp.h159 #ifndef EVP_MD
267 const EVP_MD *digest;
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);
482 unsigned long EVP_MD_flags(const EVP_MD *md);
484 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
524 void BIO_set_md(BIO *,const EVP_MD *md);
[all …]
Dm_null.c74 static const EVP_MD null_md=
87 sizeof(EVP_MD *),
90 const EVP_MD *EVP_md_null(void) in EVP_md_null()
Dm_wp.c23 static const EVP_MD whirlpool_md=
36 sizeof(EVP_MD *)+sizeof(WHIRLPOOL_CTX),
39 const EVP_MD *EVP_whirlpool(void) in EVP_whirlpool()
Dm_ripemd.c82 static const EVP_MD ripemd160_md=
95 sizeof(EVP_MD *)+sizeof(RIPEMD160_CTX),
98 const EVP_MD *EVP_ripemd160(void) in EVP_ripemd160()
Dm_ecdsa.c130 static const EVP_MD ecdsa_md=
143 sizeof(EVP_MD *)+sizeof(SHA_CTX),
146 const EVP_MD *EVP_ecdsa(void) in EVP_ecdsa()
Dm_md4.c83 static const EVP_MD md4_md=
96 sizeof(EVP_MD *)+sizeof(MD4_CTX),
99 const EVP_MD *EVP_md4(void) in EVP_md4()
Dm_md5.c82 static const EVP_MD md5_md=
95 sizeof(EVP_MD *)+sizeof(MD5_CTX),
98 const EVP_MD *EVP_md5(void) in EVP_md5()
/external/chromium_org/third_party/boringssl/src/crypto/digest/
Ddigests.c77 static const EVP_MD md4_md = {
82 const EVP_MD *EVP_md4(void) { return &md4_md; } in EVP_md4()
95 static const EVP_MD md5_md = {
100 const EVP_MD *EVP_md5(void) { return &md5_md; } in EVP_md5()
113 static const EVP_MD sha1_md = {
118 const EVP_MD *EVP_sha1(void) { return &sha1_md; } in EVP_sha1()
131 static const EVP_MD sha224_md = {
137 const EVP_MD *EVP_sha224(void) { return &sha224_md; } in EVP_sha224()
150 static const EVP_MD sha256_md = {
156 const EVP_MD *EVP_sha256(void) { return &sha256_md; } in EVP_sha256()
[all …]
Ddigest.c69 int EVP_MD_type(const EVP_MD *md) { return md->type; } in EVP_MD_type()
71 const char *EVP_MD_name(const EVP_MD *md) { return OBJ_nid2sn(md->type); } in EVP_MD_name()
73 uint32_t EVP_MD_flags(const EVP_MD *md) { return md->flags; } in EVP_MD_flags()
75 size_t EVP_MD_size(const EVP_MD *md) { return md->md_size; } in EVP_MD_size()
77 size_t EVP_MD_block_size(const EVP_MD *md) { return md->block_size; } in EVP_MD_block_size()
167 int EVP_DigestInit_ex(EVP_MD_CTX *ctx, const EVP_MD *type, ENGINE *engine) { in EVP_DigestInit_ex()
197 int EVP_DigestInit(EVP_MD_CTX *ctx, const EVP_MD *type) { in EVP_DigestInit()
226 unsigned int *out_size, const EVP_MD *type, ENGINE *impl) { in EVP_Digest()
240 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx) { in EVP_MD_CTX_md()
271 int EVP_add_digest(const EVP_MD *digest) { in EVP_add_digest()
/external/openssl/crypto/dsa/
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 && in pkey_dsa_ctrl()
178 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 && in pkey_dsa_ctrl()
179 EVP_MD_type((const EVP_MD *)p2) != NID_sha256) in pkey_dsa_ctrl()
188 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 && in pkey_dsa_ctrl()
189 EVP_MD_type((const EVP_MD *)p2) != NID_dsa && in pkey_dsa_ctrl()
190 EVP_MD_type((const EVP_MD *)p2) != NID_dsaWithSHA && in pkey_dsa_ctrl()
191 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 && in pkey_dsa_ctrl()
192 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 && in pkey_dsa_ctrl()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/rsa/
Dinternal.h106 const EVP_MD *md, const EVP_MD *mgf1md);
110 const EVP_MD *md, const EVP_MD *mgf1md);
118 const EVP_MD *Hash, const EVP_MD *mgf1Hash,
122 const EVP_MD *Hash, const EVP_MD *mgf1Hash,
/external/openssl/include/openssl/
Devp.h159 #ifndef EVP_MD
267 const EVP_MD *digest;
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);
482 unsigned long EVP_MD_flags(const EVP_MD *md);
484 const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
524 void BIO_set_md(BIO *,const EVP_MD *md);
[all …]
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/crypto/hmac/
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/chromium_org/third_party/boringssl/src/crypto/evp/
Dp_ec.c78 const EVP_MD *md;
86 const EVP_MD *kdf_md;
311 *(const EVP_MD **)p2 = dctx->kdf_md; in pkey_ec_ctrl()
339 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 && in pkey_ec_ctrl()
340 EVP_MD_type((const EVP_MD *)p2) != NID_ecdsa_with_SHA1 && in pkey_ec_ctrl()
341 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 && in pkey_ec_ctrl()
342 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 && in pkey_ec_ctrl()
343 EVP_MD_type((const EVP_MD *)p2) != NID_sha384 && in pkey_ec_ctrl()
344 EVP_MD_type((const EVP_MD *)p2) != NID_sha512) { in pkey_ec_ctrl()
352 *(const EVP_MD **)p2 = dctx->md; in pkey_ec_ctrl()
/external/ppp/pppd/
Dopenssl-hash.c19 const EVP_MD *sha1_md;
20 const EVP_MD *md4_md;
21 const EVP_MD *md5_md;
/external/openssl/crypto/ec/
Dec_pmeth.c74 const EVP_MD *md;
223 if (EVP_MD_type((const EVP_MD *)p2) != NID_sha1 && in pkey_ec_ctrl()
224 EVP_MD_type((const EVP_MD *)p2) != NID_ecdsa_with_SHA1 && in pkey_ec_ctrl()
225 EVP_MD_type((const EVP_MD *)p2) != NID_sha224 && in pkey_ec_ctrl()
226 EVP_MD_type((const EVP_MD *)p2) != NID_sha256 && in pkey_ec_ctrl()
227 EVP_MD_type((const EVP_MD *)p2) != NID_sha384 && in pkey_ec_ctrl()
228 EVP_MD_type((const EVP_MD *)p2) != NID_sha512) in pkey_ec_ctrl()

12345678