-
Notifications
You must be signed in to change notification settings - Fork 16
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 non-deterministic signing always not used #62
Comments
The adaptation needs to pass |
Yes, and I'm not saying to use runtime if-else. I think I missed something here. No documentation have ever mentioned about
What I wonder is should adaptation define the |
esp8266ndn defines Given security-frontend invokes security-backend via function pointer, one option is:
|
Current ECC backend uses macro
FEATURE_PERIPH_HWRNG
to decide whether to use deterministic signing.It's a copy from RIOT and shouldn't have been here. Also since non-RIOT package (e.g., POSIX) never uses this macro, each
ndn_ecdsa_sign
will fall intouECC_sign_deterministic
even if they already set a RNG (e.g.,ndn_lite_startup
in POSIX package).The text was updated successfully, but these errors were encountered: