-
Notifications
You must be signed in to change notification settings - Fork 467
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
Make internal API available to (only) test programs #1667
Conversation
I also should mention that I deleted the |
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.
Thanks @SWilson4 for this PR: After a first review, it looks good to me -- and reduces the "OQS support interface width" as (I think is) desirable. Allow me a bit more time to "test-drive" this branch in an oqs-provider
setup. If you feel there's other sub-projects that may benefit from such test, be my guest :)
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.
Tested to work fine downstream. Thanks again for the reduction in potential support effort!
This restores the now-private headers as public again after open-quantum-safe#1667, exposing the API to select alternative implementation through callbacks, e.g., OQS_AES_set_callbacks. Note the other functions in those headers are still not exposed as they are declared without OQS_API. Signed-off-by: Daiki Ueno <[email protected]>
This makes the callback API to replace low-level cryptographic implementation public again after open-quantum-safe#1667. Signed-off-by: Daiki Ueno <[email protected]>
This makes the callback API to replace low-level cryptographic implementation public again after open-quantum-safe#1667. Signed-off-by: Daiki Ueno <[email protected]>
This makes the callback API to replace low-level cryptographic implementation public again after open-quantum-safe#1667. Signed-off-by: Daiki Ueno <[email protected]>
This makes the callback API to replace low-level cryptographic implementation public again after open-quantum-safe#1667. Signed-off-by: Daiki Ueno <[email protected]>
This makes the callback API to replace low-level cryptographic implementation public again after open-quantum-safe#1667. Signed-off-by: Daiki Ueno <[email protected]>
This makes the callback API to replace low-level cryptographic implementation public again after open-quantum-safe#1667. Signed-off-by: Daiki Ueno <[email protected]>
…1832) This makes the callback API to replace low-level cryptographic implementation public again after #1667. Signed-off-by: Daiki Ueno <[email protected]>
This PR serves three purposes:
It does so by doing the following:
oqs-internal
library, with visibility set to "default"..h
files fromoqs.h
and.Doxyfile
.#include
statements as necessary to address compilation failures due to the above.oqs
andoqs-internal
.This will hopefully make testing easier and in particular will unblock PR #1560. I've added it to the 0.10.0 milestone for the latter reason.
Fixes #1648.
Yes, the API is changed, but it's not much. The NIST DRBG is no longer exposed in the public API. This means changes to two public API functions:
OQS_randombytes_switch_algorithm
will now error when passed the string "NIST-KAT" (with or without capitalization) andOQS_randombytes_nist_kat_init_256bit
has been deleted.