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

Improved the prioritization of crypto callback vs async crypt in ECC … #7485

Merged
merged 1 commit into from
Apr 29, 2024

Conversation

dgarske
Copy link
Contributor

@dgarske dgarske commented Apr 29, 2024

Description

Improved the prioritization of crypto callback vs async crypt in ECC and RSA (prefer crypto callback over async).
Resolves possible use of uninitialized value on ECC/RSA key when PKCS11 is enabled.

Fixes #7482

Testing

./configure --enable-all --enable-dtls13 --enable-pkcs11
valgrind -v --tool=memcheck --leak-check=full --show-leak-kinds=all --track-origins=yes --error-exitcode=5 ./tests/unit.test

Checklist

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

…and RSA. Resolves possible use of uninitialized value on ECC/RSA key when PKCS11 is enabled. See wolfSSL#7482
@SparkiDev SparkiDev merged commit 5cc0595 into wolfSSL:master Apr 29, 2024
114 checks passed
jefferyq2 pushed a commit to jefferyq2/wolfssl that referenced this pull request Jun 9, 2024
Improved the prioritization of crypto callback vs async crypt in ECC …
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.

[Bug]: PKCS11 issue with wc_ecc_init_ex()
3 participants