Searched refs:md_type (Results 1 – 8 of 8) sorted by relevance
/external/openssl/crypto/pkcs12/ |
D | p12_mutl.c | 70 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()
|
D | p12_key.c | 79 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()
|
D | pkcs12.h | 220 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/ |
D | pkcs12.h | 220 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);
|
D | pem.h | 440 EVP_MD *md_type, unsigned char **ek, int *ekl,
|
/external/openssl/crypto/pem/ |
D | pem_seal.c | 70 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()
|
D | pem.h | 440 EVP_MD *md_type, unsigned char **ek, int *ekl,
|
/external/openssl/crypto/pkcs7/ |
D | pk7_doit.c | 973 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()
|