Lines Matching refs:pkey
39 EVP_PKEY *pkey, int ispub) in write_msblob() argument
46 ret = ispub ? i2b_PublicKey_bio(out, pkey) : i2b_PrivateKey_bio(out, pkey); in write_msblob()
53 EVP_PKEY *pkey) in write_pvk() argument
62 ret = i2b_PVK_bio_ex(out, pkey, ctx->pvk_encr_level, in write_pvk()
134 EVP_PKEY *pkey = NULL; in key2msblob_encode() local
144 if ((pkey = EVP_PKEY_new()) != NULL && set1_key(pkey, key)) in key2msblob_encode()
145 ok = write_msblob(ctx, cout, pkey, ispub); in key2msblob_encode()
146 EVP_PKEY_free(pkey); in key2msblob_encode()
155 EVP_PKEY *pkey = NULL; in key2pvk_encode() local
161 if ((pkey = EVP_PKEY_new()) != NULL && set1_key(pkey, key) in key2pvk_encode()
164 ok = write_pvk(ctx, cout, pkey); in key2pvk_encode()
165 EVP_PKEY_free(pkey); in key2pvk_encode()