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

Small Stack ECC Pairwise Consistency Test #7992

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

ejohnstown
Copy link
Contributor

@ejohnstown ejohnstown commented Sep 18, 2024

Description

Update the ECC PCT to use the key's heap when allocating buffers or an RNG for the test. This is how RSA's PCT does it. Also put the test buffers on the stack when not using the small-stack build.
(ZD 17705)

Testing

Built with scan-build and gcc with address sanitize. Also ran it through valgrind.

Checklist

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

1. Update the ECC PCT to use the key's heap to allocate any buffers for
   the test. This is similar to how RSA does it.
2. Put the buffers on the stack if not using small stack option.
@ejohnstown ejohnstown force-pushed the ecc-pct-ss branch 2 times, most recently from a81efc0 to 74981c9 Compare September 18, 2024 22:34
@JacobBarthelmeh JacobBarthelmeh merged commit bddb83b into wolfSSL:master Sep 20, 2024
253 of 256 checks passed
@ejohnstown ejohnstown deleted the ecc-pct-ss branch September 20, 2024 16:02
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