Searched defs:md_type (Results 1 - 4 of 4) sorted by relevance

/external/openssl/crypto/pkcs12/
H A Dp12_mutl.c70 const EVP_MD *md_type; local
85 if(!(md_type =
91 EVP_MD_size(md_type), key, md_type)) {
96 HMAC_Init_ex(&hmac, key, EVP_MD_size(md_type), md_type, NULL);
125 unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type)
130 if (!md_type) md_type = EVP_sha1();
131 if (PKCS12_setup_mac (p12, iter, salt, saltlen, md_type)
124 PKCS12_set_mac(PKCS12 *p12, const char *pass, int passlen, unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) argument
148 PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, const EVP_MD *md_type) argument
[all...]
H A Dp12_key.c85 const EVP_MD *md_type)
98 id, iter, n, out, md_type);
108 const EVP_MD *md_type)
136 v = EVP_MD_block_size (md_type);
137 u = EVP_MD_size (md_type);
157 EVP_DigestInit_ex(&ctx, md_type, NULL);
162 EVP_DigestInit_ex(&ctx, md_type, NULL);
83 PKCS12_key_gen_asc(const char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
106 PKCS12_key_gen_uni(unsigned char *pass, int passlen, unsigned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type) argument
/external/openssl/crypto/pem/
H A Dpem_seal.c70 int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, argument
99 EVP_SignInit(&ctx->md,md_type);
/external/openssl/crypto/pkcs7/
H A Dpk7_doit.c874 int md_type; local
888 md_type=OBJ_obj2nid(si->digest_alg->algorithm);
907 if (EVP_MD_CTX_type(mdc) == md_type)
912 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type)
953 EVP_VerifyInit_ex(&mdc_tmp,EVP_get_digestbynid(md_type), NULL);

Completed in 251 milliseconds