Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ECC: when multiplying by zero, set z to 1 #7600

Merged
merged 1 commit into from
Jun 18, 2024

Conversation

SparkiDev
Copy link
Contributor

Description

Make sure zero times a point is infinity but z is 1 as it is assumed later on.

Fixes #7530

Testing

./configure '--disable-shared' 'CFLAGS=-DWOLFSSL_PUBLIC_MP'

Checklist

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

@SparkiDev SparkiDev self-assigned this May 30, 2024
@SparkiDev SparkiDev force-pushed the wc_ecc_mulmod_zero_z1 branch from 0664ea7 to 4e785a3 Compare May 30, 2024 00:13
@SparkiDev SparkiDev force-pushed the wc_ecc_mulmod_zero_z1 branch from 4e785a3 to 826cebc Compare June 18, 2024 01:25
@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev Jun 18, 2024
@SparkiDev SparkiDev requested a review from wolfSSL-Bot June 18, 2024 01:26
Make sure zero times a point is infinity but z is 1 as it is assumed
later on.
@SparkiDev SparkiDev force-pushed the wc_ecc_mulmod_zero_z1 branch from 826cebc to fbd69f9 Compare June 18, 2024 01:31
@JacobBarthelmeh JacobBarthelmeh merged commit 24291b4 into wolfSSL:master Jun 18, 2024
117 checks passed
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.

multiplication by 0 in wc_ecc_mulmod and point at infinity
3 participants