Skip to content

Navigation Menu

Sign in
Sign up

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

Open
padelsbach wants to merge 2 commits into
wolfSSL:master from
padelsbach:ecc-check-point
Open

F-4287: check public point is on curve #461
padelsbach wants to merge 2 commits into
wolfSSL:master from
padelsbach:ecc-check-point

Conversation

@padelsbach

@padelsbach padelsbach commented Aug 6, 2026

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 commented Aug 7, 2026
edited
Loading

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

Reviewers

@wolfSSL-Fenrir-bot wolfSSL-Fenrir-bot Awaiting requested review from wolfSSL-Fenrir-bot

At least 1 approving review is required to merge this pull request.

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /