Lines Matching refs:p12
17 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen,
33 int PKCS12_parse(PKCS12 *p12, const char *pass, EVP_PKEY **pkey, X509 **cert,
46 if (p12 == NULL) {
61 if (!PKCS12_mac_present(p12)
62 || PKCS12_verify_mac(p12, NULL, 0))
64 else if (PKCS12_verify_mac(p12, "", 0))
70 } else if (!PKCS12_verify_mac(p12, pass, -1)) {
82 if (!parse_pk12(p12, pass, -1, pkey, ocerts)) {
136 static int parse_pk12(PKCS12 *p12, const char *pass, int passlen,
144 if ((asafes = PKCS12_unpack_authsafes(p12)) == NULL)