Lines Matching refs:pktmp
191 EVP_PKEY *pktmp; in d2i_PUBKEY() local
195 pktmp = X509_PUBKEY_get(xpk); in d2i_PUBKEY()
197 if (!pktmp) in d2i_PUBKEY()
201 *a = pktmp; in d2i_PUBKEY()
203 return pktmp; in d2i_PUBKEY()
245 EVP_PKEY *pktmp; in i2d_RSA_PUBKEY() local
249 pktmp = EVP_PKEY_new(); in i2d_RSA_PUBKEY()
250 if (!pktmp) { in i2d_RSA_PUBKEY()
254 EVP_PKEY_set1_RSA(pktmp, (RSA *)a); in i2d_RSA_PUBKEY()
255 ret = i2d_PUBKEY(pktmp, pp); in i2d_RSA_PUBKEY()
256 EVP_PKEY_free(pktmp); in i2d_RSA_PUBKEY()
284 EVP_PKEY *pktmp; in i2d_DSA_PUBKEY() local
288 pktmp = EVP_PKEY_new(); in i2d_DSA_PUBKEY()
289 if (!pktmp) { in i2d_DSA_PUBKEY()
293 EVP_PKEY_set1_DSA(pktmp, (DSA *)a); in i2d_DSA_PUBKEY()
294 ret = i2d_PUBKEY(pktmp, pp); in i2d_DSA_PUBKEY()
295 EVP_PKEY_free(pktmp); in i2d_DSA_PUBKEY()
323 EVP_PKEY *pktmp; in i2d_EC_PUBKEY() local
327 if ((pktmp = EVP_PKEY_new()) == NULL) { in i2d_EC_PUBKEY()
331 EVP_PKEY_set1_EC_KEY(pktmp, (EC_KEY *)a); in i2d_EC_PUBKEY()
332 ret = i2d_PUBKEY(pktmp, pp); in i2d_EC_PUBKEY()
333 EVP_PKEY_free(pktmp); in i2d_EC_PUBKEY()