Searched refs:pbe2 (Results 1 – 3 of 3) sorted by relevance
95 PBE2PARAM *pbe2 = NULL; variable107 if(!(pbe2 = PBE2PARAM_new())) goto merr;110 scheme = pbe2->encryption;161 pbe2->keyfunc->algorithm = OBJ_nid2obj(NID_id_pbkdf2);165 if(!(pbe2->keyfunc->parameter = ASN1_TYPE_new())) goto merr;168 &pbe2->keyfunc->parameter->value.sequence)) goto merr;169 pbe2->keyfunc->parameter->type = V_ASN1_SEQUENCE;183 if(!ASN1_pack_string_of(PBE2PARAM, pbe2, i2d_PBE2PARAM,187 PBE2PARAM_free(pbe2);188 pbe2 = NULL;[all …]
155 PBE2PARAM *pbe2 = NULL; in PKCS5_v2_PBE_keyivgen() local167 if(!(pbe2 = d2i_PBE2PARAM(NULL, &pbuf, plen))) { in PKCS5_v2_PBE_keyivgen()174 if(OBJ_obj2nid(pbe2->keyfunc->algorithm) != NID_id_pbkdf2) { in PKCS5_v2_PBE_keyivgen()184 OBJ_nid2sn(OBJ_obj2nid(pbe2->encryption->algorithm))); in PKCS5_v2_PBE_keyivgen()194 if(EVP_CIPHER_asn1_to_param(ctx, pbe2->encryption->parameter) < 0) { in PKCS5_v2_PBE_keyivgen()204 if(!pbe2->keyfunc->parameter || in PKCS5_v2_PBE_keyivgen()205 (pbe2->keyfunc->parameter->type != V_ASN1_SEQUENCE)) in PKCS5_v2_PBE_keyivgen()211 pbuf = pbe2->keyfunc->parameter->value.sequence->data; in PKCS5_v2_PBE_keyivgen()212 plen = pbe2->keyfunc->parameter->value.sequence->length; in PKCS5_v2_PBE_keyivgen()218 PBE2PARAM_free(pbe2); in PKCS5_v2_PBE_keyivgen()[all …]
110 * const *pbe2 = (const EVP_PBE_CTL * const *)b; in pbe_cmp() local111 return ((*pbe1)->pbe_nid - (*pbe2)->pbe_nid); in pbe_cmp()