Skip to content

signature: Add Signature operation for RSA #39

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

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

tgonzalezorlandoarm
Copy link
Member

@tgonzalezorlandoarm tgonzalezorlandoarm commented Apr 11, 2024

RSA sign test is now passing

Depends on #42

@tgonzalezorlandoarm tgonzalezorlandoarm self-assigned this Apr 11, 2024
@tgonzalezorlandoarm tgonzalezorlandoarm force-pushed the tg/signature-sign branch 2 times, most recently from 40d0d6c to df89469 Compare April 12, 2024 10:29
@tgonzalezorlandoarm tgonzalezorlandoarm force-pushed the tg/signature-sign branch 3 times, most recently from 6d70f8d to 14c2b26 Compare April 15, 2024 16:04
@gowthamsk-arm
Copy link
Collaborator

Can you add a test case for sig is NULL condition?

Implement:

 * OSSL_FUNC_SIGNATURE_SIGN

as indicated by
https://www.openssl.org/docs/man3.0/man7/provider-signature.html

Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
@tgonzalezorlandoarm tgonzalezorlandoarm force-pushed the tg/signature-sign branch 2 times, most recently from bf5a9cb to 720c8b7 Compare April 16, 2024 09:16
@tgonzalezorlandoarm
Copy link
Member Author

Can you add a test case for sig is NULL condition?

Done

According to:

https://www.openssl.org/docs/man3.0/man7/provider-signature.html

"If sig is NULL then the maximum length of the signature should be
written to *siglen."

 * Add some checks to test this functionality

Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
Test is now passing as sign() has been implemented for RSA

Signed-off-by: Tomás González <tomasagustin.gonzalezorlando@arm.com>
Copy link
Collaborator

@gowthamsk-arm gowthamsk-arm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

@tgonzalezorlandoarm tgonzalezorlandoarm merged commit ccb3b81 into main Apr 16, 2024
@tgonzalezorlandoarm tgonzalezorlandoarm deleted the tg/signature-sign branch April 16, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants