Home
last modified time | relevance | path

Searched refs:md_type (Results 1 – 8 of 8) sorted by relevance

/external/openssl/crypto/pkcs12/
Dp12_mutl.c70 const EVP_MD *md_type; in PKCS12_gen_mac() local
86 if(!(md_type = in PKCS12_gen_mac()
91 md_size = EVP_MD_size(md_type); in PKCS12_gen_mac()
95 md_size, key, md_type)) { in PKCS12_gen_mac()
100 HMAC_Init_ex(&hmac, key, md_size, md_type, NULL); in PKCS12_gen_mac()
129 unsigned char *salt, int saltlen, int iter, const EVP_MD *md_type) in PKCS12_set_mac() argument
134 if (!md_type) md_type = EVP_sha1(); in PKCS12_set_mac()
135 if (PKCS12_setup_mac (p12, iter, salt, saltlen, md_type) == in PKCS12_set_mac()
153 const EVP_MD *md_type) in PKCS12_setup_mac() argument
177 p12->mac->dinfo->algor->algorithm = OBJ_nid2obj(EVP_MD_type(md_type)); in PKCS12_setup_mac()
Dp12_key.c79 const EVP_MD *md_type) in PKCS12_key_gen_asc() argument
93 id, iter, n, out, md_type); in PKCS12_key_gen_asc()
105 const EVP_MD *md_type) in PKCS12_key_gen_uni() argument
134 v = EVP_MD_block_size (md_type); in PKCS12_key_gen_uni()
135 u = EVP_MD_size (md_type); in PKCS12_key_gen_uni()
155 EVP_DigestInit_ex(&ctx, md_type, NULL); in PKCS12_key_gen_uni()
160 EVP_DigestInit_ex(&ctx, md_type, NULL); in PKCS12_key_gen_uni()
Dpkcs12.h220 unsigned char *out, const EVP_MD *md_type);
221 …igned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type);
223 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md_type,
230 const EVP_MD *md_type);
232 int saltlen, const EVP_MD *md_type);
/external/openssl/include/openssl/
Dpkcs12.h220 unsigned char *out, const EVP_MD *md_type);
221 …igned char *salt, int saltlen, int id, int iter, int n, unsigned char *out, const EVP_MD *md_type);
223 ASN1_TYPE *param, const EVP_CIPHER *cipher, const EVP_MD *md_type,
230 const EVP_MD *md_type);
232 int saltlen, const EVP_MD *md_type);
Dpem.h440 EVP_MD *md_type, unsigned char **ek, int *ekl,
/external/openssl/crypto/pem/
Dpem_seal.c70 int PEM_SealInit(PEM_ENCODE_SEAL_CTX *ctx, EVP_CIPHER *type, EVP_MD *md_type, in PEM_SealInit() argument
99 EVP_SignInit(&ctx->md,md_type); in PEM_SealInit()
Dpem.h440 EVP_MD *md_type, unsigned char **ek, int *ekl,
/external/openssl/crypto/pkcs7/
Dpk7_doit.c973 int md_type; in PKCS7_signatureVerify() local
987 md_type=OBJ_obj2nid(si->digest_alg->algorithm); in PKCS7_signatureVerify()
1006 if (EVP_MD_CTX_type(mdc) == md_type) in PKCS7_signatureVerify()
1011 if (EVP_MD_pkey_type(EVP_MD_CTX_md(mdc)) == md_type) in PKCS7_signatureVerify()
1053 EVP_VerifyInit_ex(&mdc_tmp,EVP_get_digestbynid(md_type), NULL); in PKCS7_signatureVerify()