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()
228 if (ctx->algctx == NULL) { in evp_cipher_init_internal()
229 ctx->algctx = ctx->cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_cipher_init_internal()
230 if (ctx->algctx == NULL) { in evp_cipher_init_internal()
291 return ctx->cipher->einit_skey(ctx->algctx, NULL, in evp_cipher_init_internal()
301 return ctx->cipher->einit(ctx->algctx, in evp_cipher_init_internal()
317 return ctx->cipher->dinit_skey(ctx->algctx, NULL, in evp_cipher_init_internal()
327 return ctx->cipher->dinit(ctx->algctx, in evp_cipher_init_internal()
554 if (ctx->algctx == NULL) { in evp_cipher_init_skey_internal()
555 ctx->algctx = ctx->cipher->newctx(ossl_provider_ctx(cipher->prov)); in evp_cipher_init_skey_internal()
556 if (ctx->algctx == NULL) { in evp_cipher_init_skey_internal()
594 ret = ctx->cipher->einit(ctx->algctx, keydata, keylen, in evp_cipher_init_skey_internal()
597 ret = ctx->cipher->einit_skey(ctx->algctx, in evp_cipher_init_skey_internal()
615 ret = ctx->cipher->dinit(ctx->algctx, keydata, keylen, in evp_cipher_init_skey_internal()
618 ret = ctx->cipher->dinit_skey(ctx->algctx, in evp_cipher_init_skey_internal()
677 return ctx->cipher->p_einit(ctx->algctx, in EVP_CipherPipelineEncryptInit()
707 return ctx->cipher->p_dinit(ctx->algctx, in EVP_CipherPipelineDecryptInit()
755 return ctx->cipher->p_cupdate(ctx->algctx, ctx->numpipes, in EVP_CipherPipelineUpdate()
805 return ctx->cipher->p_cfinal(ctx->algctx, ctx->numpipes, in EVP_CipherPipelineFinal()
1012 ret = ctx->cipher->cupdate(ctx->algctx, out, &soutl, in EVP_EncryptUpdate()
1073 ret = ctx->cipher->cfinal(ctx->algctx, out, &soutl, in EVP_EncryptFinal_ex()
1159 ret = ctx->cipher->cupdate(ctx->algctx, out, &soutl, in EVP_DecryptUpdate()
1295 ret = ctx->cipher->cfinal(ctx->algctx, out, &soutl, in EVP_DecryptFinal_ex()
1380 ok = evp_do_ciph_ctx_setparams(c->cipher, c->algctx, params); in EVP_CIPHER_CTX_set_key_length()
1419 ok = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_set_padding()
1529 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1534 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1551 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1558 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1573 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1582 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1599 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1605 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1620 ret = evp_do_ciph_ctx_setparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1622 ret = evp_do_ciph_ctx_getparams(ctx->cipher, ctx->algctx, params); in EVP_CIPHER_CTX_ctrl()
1655 r = ctx->cipher->set_ctx_params(ctx->algctx, params); in EVP_CIPHER_CTX_set_params()
1677 return ctx->cipher->get_ctx_params(ctx->algctx, params); in EVP_CIPHER_CTX_get_params()
1717 return cctx->cipher->settable_ctx_params(cctx->algctx, alg); in EVP_CIPHER_CTX_settable_params()
1728 return cctx->cipher->gettable_ctx_params(cctx->algctx, provctx); in EVP_CIPHER_CTX_gettable_params()
1796 out->algctx = NULL; in EVP_CIPHER_CTX_copy()
1803 out->algctx = in->cipher->dupctx(in->algctx); in EVP_CIPHER_CTX_copy()
1804 if (out->algctx == NULL) { in EVP_CIPHER_CTX_copy()