Skip to content

F-4287: check public point is on curve - #461

Open
padelsbach wants to merge 1 commit into
wolfSSL:masterfrom
padelsbach:ecc-check-point
Open

F-4287: check public point is on curve#461
padelsbach wants to merge 1 commit into
wolfSSL:masterfrom
padelsbach:ecc-check-point

Conversation

@padelsbach

Copy link
Copy Markdown
Contributor

wp_ecdh_set_peer now runs a full public key check (on-curve + correct order). wp_ecdh_derive_secret re-checks the point before use.

Relatedly, fixes the quick-validate path, which was dead code behind USE_ECC_B_PARAM and had an inverted wc_ecc_point_is_on_curve test plus a curve id passed where an index was expected.

Fixes F-4287

@padelsbach

padelsbach commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

jenkins retest this please

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