Lines Matching refs:encap
150 ctx->op.encap.kem = kem; in evp_kem_init()
151 ctx->op.encap.algctx = kem->newctx(ossl_provider_ctx(kem->prov)); in evp_kem_init()
152 if (ctx->op.encap.algctx == NULL) { in evp_kem_init()
161 ret = kem->auth_encapsulate_init(ctx->op.encap.algctx, provkey, in evp_kem_init()
164 ret = kem->encapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init()
173 ret = kem->auth_decapsulate_init(ctx->op.encap.algctx, provkey, in evp_kem_init()
176 ret = kem->decapsulate_init(ctx->op.encap.algctx, provkey, params); in evp_kem_init()
227 if (ctx->op.encap.algctx == NULL) { in EVP_PKEY_encapsulate()
235 return ctx->op.encap.kem->encapsulate(ctx->op.encap.algctx, in EVP_PKEY_encapsulate()
266 if (ctx->op.encap.algctx == NULL) { in EVP_PKEY_decapsulate()
270 return ctx->op.encap.kem->decapsulate(ctx->op.encap.algctx, in EVP_PKEY_decapsulate()