-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Psa cipher chacha20 multipart operation implementation #20788
base: master
Are you sure you want to change the base?
Psa cipher chacha20 multipart operation implementation #20788
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, looks promising already!
Mostly minor nits below, but one thing in particular surprised me: You allow the update
function to be called exactly once, I don't think that's a restriction intended by PSA Crypto. To fix this, you might have to enlarge your context object to hold up to 63B from the preceding unfinished block. Not sure if there is a better way than that.
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.
had a quick look at the tests, some suggestions to follow the coding convention
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.
Could you double-check the whole PR again to follow the coding convention, especially regarding if-statements and comments?
When you've handled the last outstanding comment, please go ahead and squash directly for a final round of review. |
b5f330f
to
a061d2f
Compare
After merge of PR 20720, the |
Tests on native and feather-nrf52840-sense checked out OK. |
Can you please elaborate what context should be added to the doc? |
Contribution description
Adds CHACHA20 multipart glue code
Testing procedure
TBD
Issues/PRs references
N/A