Lines Matching refs:algctx
41 if (ctx->algctx != NULL) { in OSSL_SAFE_MATH_SIGNED()
43 ctx->cipher->freectx(ctx->algctx); in OSSL_SAFE_MATH_SIGNED()
44 ctx->algctx = NULL; in OSSL_SAFE_MATH_SIGNED()
219 if (ctx->algctx == NULL) { in evp_cipher_init_internal()
220 ctx->algctx = ctx->cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_cipher_init_internal()
221 if (ctx->algctx == NULL) { in evp_cipher_init_internal()
278 return ctx->cipher->einit(ctx->algctx, in evp_cipher_init_internal()
293 return ctx->cipher->dinit(ctx->algctx, in evp_cipher_init_internal()
693 ret = ctx->cipher->cupdate(ctx->algctx, out, &soutl, in EVP_EncryptUpdate()
754 ret = ctx->cipher->cfinal(ctx->algctx, out, &soutl, in EVP_EncryptFinal_ex()
840 ret = ctx->cipher->cupdate(ctx->algctx, out, &soutl, in EVP_DecryptUpdate()
976 ret = ctx->cipher->cfinal(ctx->algctx, out, &soutl, in EVP_DecryptFinal_ex()
1061 ok = evp_do_ciph_ctx_setparams(c->cipher, c->algctx, params); in EVP_CIPHER_CTX_set_key_length()
1100 ok = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_set_padding()
1210 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1215 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1230 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1237 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1252 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1261 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1278 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1284 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1299 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1301 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1334 r = ctx->cipher->set_ctx_params(ctx->algctx, params); in EVP_CIPHER_CTX_set_params()
1356 return ctx->cipher->get_ctx_params(ctx->algctx, params); in EVP_CIPHER_CTX_get_params()
1396 return cctx->cipher->settable_ctx_params(cctx->algctx, alg); in EVP_CIPHER_CTX_settable_params()
1407 return cctx->cipher->gettable_ctx_params(cctx->algctx, provctx); in EVP_CIPHER_CTX_gettable_params()
1475 out->algctx = NULL; in EVP_CIPHER_CTX_copy()
1482 out->algctx = in->cipher->dupctx(in->algctx); in EVP_CIPHER_CTX_copy()
1483 if (out->algctx == NULL) { in EVP_CIPHER_CTX_copy()