Lines Matching refs:p12
3213 static int tls_parse_pkcs12(struct tls_data *data, SSL *ssl, PKCS12 *p12, in tls_parse_pkcs12() argument
3227 if (!PKCS12_parse(p12, passwd, &pkey, &cert, &certs)) { in tls_parse_pkcs12()
3230 PKCS12_free(p12); in tls_parse_pkcs12()
3334 PKCS12_free(p12); in tls_parse_pkcs12()
3349 PKCS12 *p12; in tls_read_pkcs12() local
3355 p12 = d2i_PKCS12_fp(f, NULL); in tls_read_pkcs12()
3358 if (p12 == NULL) { in tls_read_pkcs12()
3364 return tls_parse_pkcs12(data, ssl, p12, passwd); in tls_read_pkcs12()
3378 PKCS12 *p12; in tls_read_pkcs12_blob() local
3380 p12 = d2i_PKCS12(NULL, (const unsigned char **) &blob, len); in tls_read_pkcs12_blob()
3381 if (p12 == NULL) { in tls_read_pkcs12_blob()
3387 return tls_parse_pkcs12(data, ssl, p12, passwd); in tls_read_pkcs12_blob()