Lines Matching refs:ret
33 EVP_PKEY *ret = NULL;
45 ret = EVP_PKCS82PKEY(p8inf);
48 *x = ret;
73 ret = EVP_PKCS82PKEY(p8inf);
76 *x = ret;
84 ret = d2i_PrivateKey(ameth->pkey_id, x, &p, len);
87 if (ret == NULL)
92 return ret;
129 EVP_PKEY *ret = NULL;
137 ret = EVP_PKEY_new();
138 if (ret == NULL)
140 if (!EVP_PKEY_set_type_str(ret, nm, slen)
141 || !ret->ameth->param_decode
142 || !ret->ameth->param_decode(ret, &p, len)) {
143 EVP_PKEY_free(ret);
144 ret = NULL;
149 *x = ret;
153 if (ret == NULL)
157 return ret;
176 EVP_PKEY *ret;
183 ret = PEM_read_bio_PrivateKey(b, x, cb, u);
185 return ret;
193 int ret;
199 ret = PEM_write_bio_PrivateKey(b, x, enc, kstr, klen, cb, u);
201 return ret;
216 DH *ret = NULL;
223 ret = d2i_DHxparams(x, &p, len);
225 ret = d2i_DHparams(x, &p, len);
227 if (ret == NULL)
231 return ret;
238 DH *ret;
245 ret = PEM_read_bio_DHparams(b, x, cb, u);
247 return ret;