-
Notifications
You must be signed in to change notification settings - Fork 68
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
[CryptoAuthLib provider] Support for psa_sign_message and psa_verify_message. #425
[CryptoAuthLib provider] Support for psa_sign_message and psa_verify_message. #425
Conversation
Plenty of small transitions from ProviderID to ProviderId. Corrections of formatting in e2e-tests. Signed-off-by: Robert Drazkowski <[email protected]>
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 for the changes - looks good overall, but had a couple of comments before approving
if op.hash.len() != rust_cryptoauthlib::ATCA_SHA2_256_DIGEST_SIZE { | ||
return Err(ResponseStatus::PsaErrorInvalidArgument); | ||
} |
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.
Would it be helpful to do this check in psa_verify_hash_internal
as well?
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.
Done, with some minor improvements.
Input parameter handling improvements in sign operations. Signed-off-by: Robert Drazkowski <[email protected]>
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.
👍🏻 Cheers!
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!
Support for psa_sign_message and psa_verify_message.
Plenty of small transitions from ProviderID to ProviderId.
Corrections of formatting in e2e-tests.