Lines Matching refs:pbe2
95 PBE2PARAM *pbe2 = NULL;
107 if(!(pbe2 = PBE2PARAM_new())) goto merr;
110 scheme = pbe2->encryption;
161 pbe2->keyfunc->algorithm = OBJ_nid2obj(NID_id_pbkdf2);
163 /* Encode PBKDF2PARAM into parameter of pbe2 */
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;
196 PBE2PARAM_free(pbe2);
197 /* Note 'scheme' is freed as part of pbe2 */