-
Notifications
You must be signed in to change notification settings - Fork 476
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
Add benchmarking for stateful hash based schemes: speed_sig_stfl #1952
Conversation
Signed-off-by: cr-marcstevens <[email protected]>
Thanks for the contribution! Would you please add the new executable to the list in the README? It would also be nice to have it run in |
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 very much for the contribution @cr-marcstevens ! The code LGTM. One question, though: Would it be OK for you to add it to the test harness, e.g., at "scripts/noregress.sh" (or any other place where it could run regularly such as to help improve test coverage)? [Edit/add: Sorry for the kind of duplicate message -- for some reason the comment by @SWilson4 didn't show up in my timeline when I wrote this... weird]
…d secure keystore with dummy keystore Signed-off-by: cr-marcstevens <[email protected]>
Signed-off-by: cr-marcstevens <[email protected]>
I'll look into the extra changes needed throughout the repo with the added executable. For now I found out that
|
…refresh key when out of sigs for sig benchmark Signed-off-by: cr-marcstevens <[email protected]>
Signed-off-by: cr-marcstevens <[email protected]>
…tting of secret key Signed-off-by: cr-marcstevens <[email protected]>
…s/test_speed.py Signed-off-by: cr-marcstevens <[email protected]>
… sigs Signed-off-by: cr-marcstevens <[email protected]>
…ithms with 2^10 max sigs Signed-off-by: cr-marcstevens <[email protected]>
Signed-off-by: cr-marcstevens <[email protected]>
…f keygen and sign are not enabled. Signed-off-by: cr-marcstevens <[email protected]>
I've noticed two issues and resolved them:
|
@cr-marcstevens All tests have passed. Feel free to merge it whenever you like. |
Indeed I think all issues are resolved now, so it is ready for merging. |
Thanks for the contribution! |
This pull requests adds an executable
tests/speed_sig_stfl
to be able to benchmark the stateful hash based schemes in liboqs.The source code
tests/speed_sig_stfl.c
is directly copied fromtests/speed_sig.c
,but making the relevant changes to use the SIG_STFL functions and types instead.
Here are some issues encountered specific to SIG_STFL code: