Lines Matching refs:p12
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
216 if (p12 == NULL) { in sunw_PKCS12_parse()
250 if (PKCS12_verify_mac(p12, NULL, 0)) in sunw_PKCS12_parse()
252 else if (PKCS12_verify_mac(p12, "", 0)) 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
561 if ((asafes = M_PKCS12_unpack_authsafes(p12)) == NULL) in parse_outer()