Lines Matching defs:ret

110     pmeth_fn *ret;
119 ret = OBJ_bsearch_pmeth_func(&t, standard_methods,
121 if (ret == NULL || *ret == NULL)
123 return (**ret)();
186 EVP_PKEY_CTX *ret = NULL;
318 ret = OPENSSL_zalloc(sizeof(*ret));
319 if (ret == NULL)
324 if ((ret == NULL || pmeth == NULL) && e != NULL)
328 if (ret == NULL) {
333 ret->propquery = OPENSSL_strdup(propquery);
334 if (ret->propquery == NULL) {
335 OPENSSL_free(ret);
340 ret->libctx = libctx;
341 ret->keytype = keytype;
342 ret->keymgmt = keymgmt;
343 ret->legacy_keytype = id;
344 ret->engine = e;
345 ret->pmeth = pmeth;
346 ret->operation = EVP_PKEY_OP_UNDEFINED;
347 ret->pkey = pkey;
352 if (pmeth->init(ret) <= 0) {
353 ret->pmeth = NULL;
354 EVP_PKEY_CTX_free(ret);
359 return ret;
650 const EVP_PKEY_METHOD *ret;
652 ret = sk_EVP_PKEY_METHOD_delete_ptr(app_pkey_methods, pmeth);
654 return ret == NULL ? 0 : 1;
1217 int ret;
1233 ret = evp_pkey_ctx_set_params_strict(ctx, params);
1234 if (ret == -2)
1236 return ret;
1247 int ret;
1261 ret = evp_pkey_ctx_get_params_strict(ctx, params);
1262 if (ret == -2) {
1264 } else if (ret > 0) {
1272 return ret;
1299 int ret = 0;
1330 ret = ctx->pmeth->ctrl(ctx, cmd, p1, p2);
1332 if (ret == -2)
1336 return ret;
1342 int ret = 0;
1350 ret = evp_pkey_ctx_store_cached_data(ctx, keytype, optype,
1352 if (ret == -2) {
1361 if (ret < 1 || ctx->operation == EVP_PKEY_OP_UNDEFINED)
1362 return ret;
1377 int ret = 0;
1394 ret = EVP_PKEY_CTX_md(ctx,
1398 ret = ctx->pmeth->ctrl_str(ctx, name, value);
1402 return ret;
1408 int ret = 0;
1412 ret = evp_pkey_ctx_store_cached_data(ctx, -1, -1, -1,
1414 if (ret == -2) {
1423 if (ret < 1 || ctx->operation == EVP_PKEY_OP_UNDEFINED)
1424 return ret;
1540 int ret = 1;
1542 if (ret && ctx->cached_parameters.dist_id_set) {
1548 ret = evp_pkey_ctx_ctrl_str_int(ctx, name, val);
1550 ret = evp_pkey_ctx_ctrl_int(ctx, -1, ctx->operation,
1555 return ret;