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