Lines Matching refs:p8
113 X509_SIG *p8; in do_pk8pkey() local
135 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
140 ret = i2d_PKCS8_bio(bp, p8); in do_pk8pkey()
142 ret = PEM_write_bio_PKCS8(bp, p8); in do_pk8pkey()
143 X509_SIG_free(p8); in do_pk8pkey()
159 X509_SIG *p8 = NULL; in d2i_PKCS8PrivateKey_bio() local
163 p8 = d2i_PKCS8_bio(bp, NULL); in d2i_PKCS8PrivateKey_bio()
164 if (!p8) in d2i_PKCS8PrivateKey_bio()
173 X509_SIG_free(p8); in d2i_PKCS8PrivateKey_bio()
176 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio()
177 X509_SIG_free(p8); in d2i_PKCS8PrivateKey_bio()