Closed ma-ilsi closed 9 months ago
We require contributors to sign our Contributor License Agreement https://github.com/cryspen/hacl/blob/main/CLA.md ensuring that the contribution can be licensed under Apache 2.0 and MIT. In order for us to review and merge your code, please mention @cryspen/core in a comment below to get yourself added.
@cryspen/core
Would you mind moving you changes over there?
No problem. Once we finish/resolve our above conversation, I'll head over there.
We require contributors to sign our Contributor License Agreement https://github.com/cryspen/hacl/blob/main/CLA.md ensuring that the contribution can be licensed under Apache 2.0 and MIT. In order for us to review and merge your code, please mention @cryspen/core in a comment below to get yourself added.
Here's the latest:
Branch updated to include .cpp
test update only. So you can merge for that change only.
Original message of this PR updated to resolve #346, only.
hacl-star PR: https://github.com/hacl-star/hacl-star/pull/858 to increase clarity, endianness, return values.
Memory disjoint condition has been left out and can be addressed separately, later. (Verification conditions not checked on behalf of the client in the generated C code seems like a problem for this repo. You could add the memory note to the top of docs/reference/hacl/signature/rsapss.md
file - anyways that's another issue).
That's about it. I think we're done here.
Can you update your branch? Then I can merge it.
Gotcha
Summary of Changes
The documentation for RSAPSS receives additional clarity:
Hacl_RSAPSS_new_rsapss_load_pkey
andHacl_RSAPSS_new_rsapss_load_skey
explains thatNULL
is returned on failure.sgnt
parameter in applicable functions in the case a client, for some odd reason, decides to overwrite other arguments with the produced signature.Issues Resolved
Resolves #346.
Local Testing
./mach build --test
: all passed../mach doc
: finished, RSAPSS documentation page renders correctly.