Lines Matching refs:pktmp

496     EVP_PKEY *pktmp = NULL;  in d2i_PUBKEY_int()  local
518 pktmp = X509_PUBKEY_get(xpk); in d2i_PUBKEY_int()
521 if (pktmp == NULL) in d2i_PUBKEY_int()
526 *a = pktmp; in d2i_PUBKEY_int()
530 return pktmp; in d2i_PUBKEY_int()
629 EVP_PKEY *pktmp; in i2d_RSA_PUBKEY() local
633 pktmp = EVP_PKEY_new(); in i2d_RSA_PUBKEY()
634 if (pktmp == NULL) { in i2d_RSA_PUBKEY()
638 (void)EVP_PKEY_assign_RSA(pktmp, (RSA *)a); in i2d_RSA_PUBKEY()
639 ret = i2d_PUBKEY(pktmp, pp); in i2d_RSA_PUBKEY()
640 pktmp->pkey.ptr = NULL; in i2d_RSA_PUBKEY()
641 EVP_PKEY_free(pktmp); in i2d_RSA_PUBKEY()
671 EVP_PKEY *pktmp; in ossl_i2d_DH_PUBKEY() local
675 pktmp = EVP_PKEY_new(); in ossl_i2d_DH_PUBKEY()
676 if (pktmp == NULL) { in ossl_i2d_DH_PUBKEY()
680 (void)EVP_PKEY_assign_DH(pktmp, (DH *)a); in ossl_i2d_DH_PUBKEY()
681 ret = i2d_PUBKEY(pktmp, pp); in ossl_i2d_DH_PUBKEY()
682 pktmp->pkey.ptr = NULL; in ossl_i2d_DH_PUBKEY()
683 EVP_PKEY_free(pktmp); in ossl_i2d_DH_PUBKEY()
712 EVP_PKEY *pktmp; in ossl_i2d_DHx_PUBKEY() local
716 pktmp = EVP_PKEY_new(); in ossl_i2d_DHx_PUBKEY()
717 if (pktmp == NULL) { in ossl_i2d_DHx_PUBKEY()
721 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_DHX, (DH *)a); in ossl_i2d_DHx_PUBKEY()
722 ret = i2d_PUBKEY(pktmp, pp); in ossl_i2d_DHx_PUBKEY()
723 pktmp->pkey.ptr = NULL; in ossl_i2d_DHx_PUBKEY()
724 EVP_PKEY_free(pktmp); in ossl_i2d_DHx_PUBKEY()
778 EVP_PKEY *pktmp; in i2d_DSA_PUBKEY() local
782 pktmp = EVP_PKEY_new(); in i2d_DSA_PUBKEY()
783 if (pktmp == NULL) { in i2d_DSA_PUBKEY()
787 (void)EVP_PKEY_assign_DSA(pktmp, (DSA *)a); in i2d_DSA_PUBKEY()
788 ret = i2d_PUBKEY(pktmp, pp); in i2d_DSA_PUBKEY()
789 pktmp->pkey.ptr = NULL; in i2d_DSA_PUBKEY()
790 EVP_PKEY_free(pktmp); in i2d_DSA_PUBKEY()
823 EVP_PKEY *pktmp; in i2d_EC_PUBKEY() local
828 if ((pktmp = EVP_PKEY_new()) == NULL) { in i2d_EC_PUBKEY()
832 (void)EVP_PKEY_assign_EC_KEY(pktmp, (EC_KEY *)a); in i2d_EC_PUBKEY()
833 ret = i2d_PUBKEY(pktmp, pp); in i2d_EC_PUBKEY()
834 pktmp->pkey.ptr = NULL; in i2d_EC_PUBKEY()
835 EVP_PKEY_free(pktmp); in i2d_EC_PUBKEY()
865 EVP_PKEY *pktmp; in ossl_i2d_ED25519_PUBKEY() local
870 if ((pktmp = EVP_PKEY_new()) == NULL) { in ossl_i2d_ED25519_PUBKEY()
874 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_ED25519, (ECX_KEY *)a); in ossl_i2d_ED25519_PUBKEY()
875 ret = i2d_PUBKEY(pktmp, pp); in ossl_i2d_ED25519_PUBKEY()
876 pktmp->pkey.ptr = NULL; in ossl_i2d_ED25519_PUBKEY()
877 EVP_PKEY_free(pktmp); in ossl_i2d_ED25519_PUBKEY()
907 EVP_PKEY *pktmp; in ossl_i2d_ED448_PUBKEY() local
912 if ((pktmp = EVP_PKEY_new()) == NULL) { in ossl_i2d_ED448_PUBKEY()
916 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_ED448, (ECX_KEY *)a); in ossl_i2d_ED448_PUBKEY()
917 ret = i2d_PUBKEY(pktmp, pp); in ossl_i2d_ED448_PUBKEY()
918 pktmp->pkey.ptr = NULL; in ossl_i2d_ED448_PUBKEY()
919 EVP_PKEY_free(pktmp); in ossl_i2d_ED448_PUBKEY()
949 EVP_PKEY *pktmp; in ossl_i2d_X25519_PUBKEY() local
954 if ((pktmp = EVP_PKEY_new()) == NULL) { in ossl_i2d_X25519_PUBKEY()
958 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_X25519, (ECX_KEY *)a); in ossl_i2d_X25519_PUBKEY()
959 ret = i2d_PUBKEY(pktmp, pp); in ossl_i2d_X25519_PUBKEY()
960 pktmp->pkey.ptr = NULL; in ossl_i2d_X25519_PUBKEY()
961 EVP_PKEY_free(pktmp); in ossl_i2d_X25519_PUBKEY()
991 EVP_PKEY *pktmp; in ossl_i2d_X448_PUBKEY() local
996 if ((pktmp = EVP_PKEY_new()) == NULL) { in ossl_i2d_X448_PUBKEY()
1000 (void)EVP_PKEY_assign(pktmp, EVP_PKEY_X448, (ECX_KEY *)a); in ossl_i2d_X448_PUBKEY()
1001 ret = i2d_PUBKEY(pktmp, pp); in ossl_i2d_X448_PUBKEY()
1002 pktmp->pkey.ptr = NULL; in ossl_i2d_X448_PUBKEY()
1003 EVP_PKEY_free(pktmp); in ossl_i2d_X448_PUBKEY()