Lines Matching refs:ret
78 EVP_PKEY *ret;
82 if ((ret=EVP_PKEY_new()) == NULL)
88 else ret= *a;
90 if (!EVP_PKEY_set_type(ret, type))
96 switch (EVP_PKEY_id(ret))
100 if ((ret->pkey.rsa=d2i_RSAPublicKey(NULL,
110 if (!d2i_DSAPublicKey(&(ret->pkey.dsa),
120 if (!o2i_ECPublicKey(&(ret->pkey.ec),
133 if (a != NULL) (*a)=ret;
134 return(ret);
136 if ((ret != NULL) && ((a == NULL) || (*a != ret))) EVP_PKEY_free(ret);