Lines Matching refs:rctx
254 EVP_PKEY_CTX *rctx; in EVP_PKEY_CTX_dup() local
265 rctx = OPENSSL_malloc(sizeof(EVP_PKEY_CTX)); in EVP_PKEY_CTX_dup()
266 if (!rctx) in EVP_PKEY_CTX_dup()
269 rctx->pmeth = pctx->pmeth; in EVP_PKEY_CTX_dup()
271 rctx->engine = pctx->engine; in EVP_PKEY_CTX_dup()
277 rctx->pkey = pctx->pkey; in EVP_PKEY_CTX_dup()
282 rctx->peerkey = pctx->peerkey; in EVP_PKEY_CTX_dup()
284 rctx->data = NULL; in EVP_PKEY_CTX_dup()
285 rctx->app_data = NULL; in EVP_PKEY_CTX_dup()
286 rctx->operation = pctx->operation; in EVP_PKEY_CTX_dup()
288 if (pctx->pmeth->copy(rctx, pctx) > 0) in EVP_PKEY_CTX_dup()
289 return rctx; in EVP_PKEY_CTX_dup()
291 EVP_PKEY_CTX_free(rctx); in EVP_PKEY_CTX_dup()