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: handle zero in wc_ecc_mulmod() #7532

Merged
merged 2 commits into from
May 15, 2024

Conversation

SparkiDev
Copy link
Contributor

Description

Public API needs to handle multiplying by zero as the underlying code doesn't and needn't.

Fixes #7530

Testing

Added test case.
Failed before change made to wc_ecc_mulmod().

Checklist

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

Public API needs to handle multiplying by zero as the underlying code
doesn't and needn't.
@SparkiDev SparkiDev assigned wolfSSL-Bot and unassigned SparkiDev May 15, 2024
@dgarske
Copy link
Contributor

dgarske commented May 15, 2024

Retest this please

@dgarske dgarske merged commit 9c4c923 into wolfSSL:master May 15, 2024
102 of 103 checks passed
jefferyq2 pushed a commit to jefferyq2/wolfssl that referenced this pull request Jun 9, 2024
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