Skip to content

ECC: import point, always do some checks#9684

Open
SparkiDev wants to merge 1 commit intowolfSSL:masterfrom
SparkiDev:ecc_import_pub_check_fix
Open

ECC: import point, always do some checks#9684
SparkiDev wants to merge 1 commit intowolfSSL:masterfrom
SparkiDev:ecc_import_pub_check_fix

Conversation

@SparkiDev
Copy link
Contributor

@SparkiDev SparkiDev commented Jan 20, 2026

Description

Always check for infinity and, when B param available, whether the point is on the curve.

Fixes zd#21057

Testing

./configure --disable-shared
./configure --disable-shared --enable-opensslextra

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@SparkiDev SparkiDev self-assigned this Jan 20, 2026
@SparkiDev SparkiDev force-pushed the ecc_import_pub_check_fix branch 2 times, most recently from a9176d2 to bf652e9 Compare January 21, 2026 04:05
@SparkiDev
Copy link
Contributor Author

retest this please

@SparkiDev SparkiDev force-pushed the ecc_import_pub_check_fix branch 3 times, most recently from de0099f to 11cf7bb Compare January 30, 2026 01:20
@SparkiDev
Copy link
Contributor Author

retest this please

nodes down

@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev Jan 30, 2026
@SparkiDev SparkiDev requested a review from wolfSSL-Bot January 30, 2026 04:16
@SparkiDev SparkiDev force-pushed the ecc_import_pub_check_fix branch from 11cf7bb to d075b51 Compare February 2, 2026 05:45
Always check for infinity and, when B param available, whether the point
is on the curve when point is untrusted.
Change TLS code to treat points from peer as untrusted on import.
@SparkiDev SparkiDev force-pushed the ecc_import_pub_check_fix branch from d075b51 to 565ac4c Compare February 2, 2026 06:13
@SparkiDev
Copy link
Contributor Author

retest this please

retest FIPS

@JacobBarthelmeh
Copy link
Contributor

Retest this please Jenkins

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.

3 participants