Lines Matching refs:p8
106 X509_SIG *p8 = NULL; in p8info_to_encp8() local
120 p8 = PKCS8_encrypt_ex(-1, ctx->cipher, kstr, klen, NULL, 0, 0, p8info, libctx, NULL); in p8info_to_encp8()
122 return p8; in p8info_to_encp8()
131 X509_SIG *p8 = NULL; in key_to_encp8() local
136 p8 = p8info_to_encp8(p8info, ctx); in key_to_encp8()
139 return p8; in key_to_encp8()
195 X509_SIG *p8; in key_to_epki_der_priv_bio() local
204 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_der_priv_bio()
205 if (p8 != NULL) in key_to_epki_der_priv_bio()
206 ret = i2d_PKCS8_bio(out, p8); in key_to_epki_der_priv_bio()
208 X509_SIG_free(p8); in key_to_epki_der_priv_bio()
223 X509_SIG *p8; in key_to_epki_pem_priv_bio() local
232 p8 = key_to_encp8(key, key_nid, str, strtype, k2d, ctx); in key_to_epki_pem_priv_bio()
233 if (p8 != NULL) in key_to_epki_pem_priv_bio()
234 ret = PEM_write_bio_PKCS8(out, p8); in key_to_epki_pem_priv_bio()
236 X509_SIG_free(p8); in key_to_epki_pem_priv_bio()