-
Notifications
You must be signed in to change notification settings - Fork 792
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
[Bug]: PKCS11 issue with wc_ecc_init_ex() #7482
Labels
Comments
Same is true for |
Thanks @mrdeep1 for the report. We will take a look. |
dgarske
added a commit
to dgarske/wolfssl
that referenced
this issue
Apr 29, 2024
…and RSA. Resolves possible use of uninitialized value on ECC/RSA key when PKCS11 is enabled. See wolfSSL#7482
4 tasks
See #7485 for fix. Thank you for the report. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Contact Details
No response
Version
Latest master
Description
$ ./configure --enable-all --enable-dtls13 --enable-pkcs11
Code in wc_ecc_init_ex() is testing for isPkcs11 in passed in
key
- which in just about every case is uninitialized.This (randomly set)
isPkcs11
is tested later in this functionNot sure how this should be fixed.
Reproduction steps
$ ./configure --enable-all --enable-dtls13 --enable-pkcs11
Relevant log output
The text was updated successfully, but these errors were encountered: