Lines Matching refs:p8
127 X509_SIG *p8; in do_pk8pkey() local
146 p8 = PKCS8_encrypt(nid, enc, kstr, klen, NULL, 0, 0, p8inf); in do_pk8pkey()
149 if (p8 == NULL) in do_pk8pkey()
152 ret = i2d_PKCS8_bio(bp, p8); in do_pk8pkey()
154 ret = PEM_write_bio_PKCS8(bp, p8); in do_pk8pkey()
155 X509_SIG_free(p8); in do_pk8pkey()
173 X509_SIG *p8 = NULL; in d2i_PKCS8PrivateKey_bio() local
178 p8 = d2i_PKCS8_bio(bp, NULL); in d2i_PKCS8PrivateKey_bio()
179 if (p8 == NULL) in d2i_PKCS8PrivateKey_bio()
187 X509_SIG_free(p8); in d2i_PKCS8PrivateKey_bio()
190 p8inf = PKCS8_decrypt(p8, psbuf, klen); in d2i_PKCS8PrivateKey_bio()
191 X509_SIG_free(p8); in d2i_PKCS8PrivateKey_bio()