Lines Matching refs:p12
1035 PKCS12 *p12; in d2i_PKCS12() local
1040 p12 = OPENSSL_malloc(sizeof(PKCS12)); in d2i_PKCS12()
1041 if (!p12) { in d2i_PKCS12()
1045 p12->ber_bytes = OPENSSL_malloc(ber_len); in d2i_PKCS12()
1046 if (!p12->ber_bytes) { in d2i_PKCS12()
1047 OPENSSL_free(p12); in d2i_PKCS12()
1051 memcpy(p12->ber_bytes, *ber_bytes, ber_len); in d2i_PKCS12()
1052 p12->ber_len = ber_len; in d2i_PKCS12()
1055 return p12; in d2i_PKCS12()
1116 int PKCS12_parse(const PKCS12 *p12, const char *password, EVP_PKEY **out_pkey, in PKCS12_parse() argument
1134 CBS_init(&ber_bytes, p12->ber_bytes, p12->ber_len); in PKCS12_parse()
1156 void PKCS12_free(PKCS12 *p12) { in PKCS12_free() argument
1157 OPENSSL_free(p12->ber_bytes); in PKCS12_free()
1158 OPENSSL_free(p12); in PKCS12_free()