Lines Matching refs:pass
150 static int sunw_PKCS12_contents(PKCS12 *p12, const char *pass,
208 sunw_PKCS12_parse(PKCS12 *p12, const char *pass, int matchty, char *keyid, in sunw_PKCS12_parse() argument
249 if (pass == NULL || *pass == '\0') { in sunw_PKCS12_parse()
251 pass = NULL; in sunw_PKCS12_parse()
253 pass = ""; in sunw_PKCS12_parse()
259 } else if (PKCS12_verify_mac(p12, pass, -1) == 0) { in sunw_PKCS12_parse()
264 retval = parse_pkcs12(p12, pass, matchty, keyid, keyid_len, in sunw_PKCS12_parse()
319 parse_pkcs12(PKCS12 *p12, const char *pass, int matchty, char *keyid, in parse_pkcs12() argument
330 retval = sunw_PKCS12_contents(p12, pass, &work_kl, &work_ca); in parse_pkcs12()
498 sunw_PKCS12_contents(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) **pkey, in sunw_PKCS12_contents() argument
519 if (parse_outer(p12, pass, work_kl, work_ca) == 0) { in sunw_PKCS12_contents()
553 parse_outer(PKCS12 *p12, const char *pass, STACK_OF(EVP_PKEY) *kl, in parse_outer() argument
574 bags = M_PKCS12_unpack_p7encdata(p7, pass, -1); in parse_outer()
585 if (parse_all_bags(bags, pass, kl, cl) == 0) { in parse_outer()
608 parse_all_bags(STACK_OF(PKCS12_SAFEBAG) *bags, const char *pass, in parse_all_bags() argument
614 pass, kl, cl) == 0) in parse_all_bags()
642 parse_one_bag(PKCS12_SAFEBAG *bag, const char *pass, STACK_OF(EVP_PKEY) *kl, in parse_one_bag() argument
672 if ((p8 = M_PKCS12_decrypt_skey(bag, pass, -1)) == NULL) { in parse_one_bag()
755 if (parse_all_bags(bag->value.safes, pass, kl, cl) == 0) { in parse_one_bag()