-
Notifications
You must be signed in to change notification settings - Fork 938
se050: add support for WOLFSSL_SE050_NOECDHE #9853
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -246,6 +246,12 @@ defined, wolfCrypt will instead fall back to using `/dev/random` and | |||||||||||||
| Disables using the SE050 for RSA, useful for the SE050E which does not have | ||||||||||||||
| RSA support. | ||||||||||||||
|
|
||||||||||||||
| **`WOLFSSL_SE050_NOECDHE`** | ||||||||||||||
|
|
||||||||||||||
| Disables offloading ECDH key generation and shared secret operations to the | ||||||||||||||
| SE050. When defined, `wc_ecc_make_key()` and `wc_ecc_shared_secret()` will | ||||||||||||||
| use wolfCrypt software instead of the SE050. | ||||||||||||||
|
Comment on lines
+251
to
+253
|
||||||||||||||
| Disables offloading ECDH key generation and shared secret operations to the | |
| SE050. When defined, `wc_ecc_make_key()` and `wc_ecc_shared_secret()` will | |
| use wolfCrypt software instead of the SE050. | |
| Disables offloading ECC/EC key pair generation and ECDH shared secret | |
| operations to the SE050. When defined, `wc_ecc_make_key()` and | |
| `wc_ecc_shared_secret()` will use wolfCrypt software instead of the SE050. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WOLFSSL_SE050_NOECDHEis harder to parse than the surrounding SE050 macros (e.g.,WOLFSSL_SE050_NO_RSA,WOLFSSL_SE050_NO_TRNG) which use word separators. Consider renaming toWOLFSSL_SE050_NO_ECDHEfor consistency/readability, or providing a compatibility alias so both spellings work.