Lines Matching refs:passlen
65 static int parse_pk12( PKCS12 *p12, const char *pass, int passlen,
69 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts);
71 static int parse_bag( PKCS12_SAFEBAG *bag, const char *pass, int passlen,
179 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen, in parse_pk12() argument
194 bags = PKCS12_unpack_p7encdata(p7, pass, passlen); in parse_pk12()
200 if (!parse_bags(bags, pass, passlen, pkey, ocerts)) { in parse_pk12()
213 int passlen, EVP_PKEY **pkey, STACK_OF(X509) *ocerts) in parse_bags() argument
218 pass, passlen, pkey, ocerts)) in parse_bags()
224 static int parse_bag(PKCS12_SAFEBAG *bag, const char *pass, int passlen, in parse_bag() argument
251 if (!(p8 = PKCS12_decrypt_skey(bag, pass, passlen))) in parse_bag()
292 return parse_bags(bag->value.safes, pass, passlen, in parse_bag()