Lines Matching refs:md_type
72 const EVP_MD *md_type;
89 if (!(md_type = EVP_get_digestbyobj(p12->mac->dinfo->algor->algorithm))) {
93 md_size = EVP_MD_size(md_type);
97 md_size, key, md_type)) {
102 if (!HMAC_Init_ex(&hmac, key, md_size, md_type, NULL)
136 const EVP_MD *md_type)
141 if (!md_type)
142 md_type = EVP_sha1();
143 if (PKCS12_setup_mac(p12, iter, salt, saltlen, md_type) == PKCS12_ERROR) {
160 const EVP_MD *md_type)
186 p12->mac->dinfo->algor->algorithm = OBJ_nid2obj(EVP_MD_type(md_type));