-
Notifications
You must be signed in to change notification settings - Fork 24
CI: add the PCT enabled, PCT enabled + broken, Custom zeroization (explicit_bzero) #393
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
Conversation
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 @willieyz. This looks far from ready. Please test your code before opening a PR and requesting a review.
116bcea
to
3d46d54
Compare
3d46d54
to
4356926
Compare
136d524
to
031f2f4
Compare
031f2f4
to
e73121e
Compare
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 @willieyz! The changes look good.
Can you please split this up into 2 commits. One adding the MLD_MUST_CHECK_RETURN_VALUE
and CHECK() parts, and one for adding the actual tests.
Also your commit message needs some work. The first line should not break.
e73121e
to
3372d61
Compare
- Some functions defined in `sign.h` did not properly check or handle their return values. - Introduce the macro: `CHECK` and `MLD_MUST_CHECK_RETURN_VALUE` to enforce correct usage of the return value. Signed-off-by: willieyz <[email protected]>
- `PCT enabled` - `PCT enabled + broken` - `Custom zeroization (explicit_bzero)` Signed-off-by: willieyz <[email protected]>
3372d61
to
7aa56d4
Compare
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 @willieyz for closing this gap in the CI. LGTM.
This PR related is base on top of Constant-time hardening for
caddq
,poly_chknorm
,decompose
#371, merge this PR after 371 has been mergedResolves CI: Test custom zeroization in CI #383
Resolves Test PCT and PCT breakage in CI #380
This PR add the three tests PCT enabled, PCT enabled + broken, Custom zeroization (explicit_bzero) in the
ci.yml
It also introduces the MLD_MUST_CHECK_RETURN_VALUE attribute and the CHECK macro to enforce return value checking throughout the codebase.