Skip to content

EC: Validate local EC domain parameters for MQV key agreement#2272

Open
Joowon-Seo wants to merge 2 commits intobcgit:mainfrom
Joowon-Seo:fix/ec-keyagreement-parameter-validation
Open

EC: Validate local EC domain parameters for MQV key agreement#2272
Joowon-Seo wants to merge 2 commits intobcgit:mainfrom
Joowon-Seo:fix/ec-keyagreement-parameter-validation

Conversation

@Joowon-Seo
Copy link

Add validation during MQV key agreement initialisation to ensure
the local static and ephemeral EC keys share the same domain parameters.

Previously these parameters were not explicitly validated, allowing
mismatched keys to proceed until later stages of the agreement.

Tests added for matching and mismatched curve scenarios.

Ensure static and ephemeral EC keys used during MQV initialization
share the same domain parameters and fail early if they differ.

Add tests for matching and mismatched curve scenarios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant