Lines Matching refs:kex
144 && ctx->op.kex.algctx != NULL) in evp_pkey_ctx_state()
363 if (ctx->op.kex.algctx != NULL && ctx->op.kex.exchange != NULL) in evp_pkey_ctx_free_old_ops()
364 ctx->op.kex.exchange->freectx(ctx->op.kex.algctx); in evp_pkey_ctx_free_old_ops()
365 EVP_KEYEXCH_free(ctx->op.kex.exchange); in evp_pkey_ctx_free_old_ops()
366 ctx->op.kex.algctx = NULL; in evp_pkey_ctx_free_old_ops()
367 ctx->op.kex.exchange = NULL; in evp_pkey_ctx_free_old_ops()
479 if (pctx->op.kex.exchange != NULL) { in EVP_PKEY_CTX_dup()
480 rctx->op.kex.exchange = pctx->op.kex.exchange; in EVP_PKEY_CTX_dup()
481 if (!EVP_KEYEXCH_up_ref(rctx->op.kex.exchange)) in EVP_PKEY_CTX_dup()
484 if (pctx->op.kex.algctx != NULL) { in EVP_PKEY_CTX_dup()
485 if (!ossl_assert(pctx->op.kex.exchange != NULL)) in EVP_PKEY_CTX_dup()
488 if (pctx->op.kex.exchange->dupctx != NULL) in EVP_PKEY_CTX_dup()
489 rctx->op.kex.algctx in EVP_PKEY_CTX_dup()
490 = pctx->op.kex.exchange->dupctx(pctx->op.kex.algctx); in EVP_PKEY_CTX_dup()
492 if (rctx->op.kex.algctx == NULL) { in EVP_PKEY_CTX_dup()
493 EVP_KEYEXCH_free(rctx->op.kex.exchange); in EVP_PKEY_CTX_dup()
494 rctx->op.kex.exchange = NULL; in EVP_PKEY_CTX_dup()
668 && ctx->op.kex.exchange != NULL in EVP_PKEY_CTX_set_params()
669 && ctx->op.kex.exchange->set_ctx_params != NULL) in EVP_PKEY_CTX_set_params()
671 ctx->op.kex.exchange->set_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_set_params()
712 && ctx->op.kex.exchange != NULL in EVP_PKEY_CTX_get_params()
713 && ctx->op.kex.exchange->get_ctx_params != NULL) in EVP_PKEY_CTX_get_params()
715 ctx->op.kex.exchange->get_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_get_params()
757 && ctx->op.kex.exchange != NULL in EVP_PKEY_CTX_gettable_params()
758 && ctx->op.kex.exchange->gettable_ctx_params != NULL) { in EVP_PKEY_CTX_gettable_params()
759 provctx = ossl_provider_ctx(EVP_KEYEXCH_get0_provider(ctx->op.kex.exchange)); in EVP_PKEY_CTX_gettable_params()
760 return ctx->op.kex.exchange->gettable_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_gettable_params()
801 && ctx->op.kex.exchange != NULL in EVP_PKEY_CTX_settable_params()
802 && ctx->op.kex.exchange->settable_ctx_params != NULL) { in EVP_PKEY_CTX_settable_params()
803 provctx = ossl_provider_ctx(EVP_KEYEXCH_get0_provider(ctx->op.kex.exchange)); in EVP_PKEY_CTX_settable_params()
804 return ctx->op.kex.exchange->settable_ctx_params(ctx->op.kex.algctx, in EVP_PKEY_CTX_settable_params()
978 return evp_pkey_ctx_set_md(ctx, md, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set_tls1_prf_md()
1093 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_tls1_prf_secret()
1103 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_add1_tls1_prf_seed()
1112 return evp_pkey_ctx_set_md(ctx, md, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set_hkdf_md()
1120 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_hkdf_salt()
1130 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_hkdf_key()
1140 return evp_pkey_ctx_add1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_add1_hkdf_info()
1158 if (ctx->op.kex.algctx == NULL) in EVP_PKEY_CTX_set_hkdf_mode()
1177 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_pbe_pass()
1187 return evp_pkey_ctx_set1_octet_string(ctx, ctx->op.kex.algctx == NULL, in EVP_PKEY_CTX_set1_scrypt_salt()
1206 if (ctx->op.kex.algctx == NULL) in evp_pkey_ctx_set_uint64()
1565 if (ctx->op.kex.exchange != NULL) in EVP_PKEY_CTX_get0_provider()
1566 return EVP_KEYEXCH_get0_provider(ctx->op.kex.exchange); in EVP_PKEY_CTX_get0_provider()