-
Notifications
You must be signed in to change notification settings - Fork 25
DMA support for CMAC #97
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
billphipps
left a comment
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.
Excellent that you were able to put this together so quickly, but I think we need to clean up the CMAC state handling by passing the necessary contents instead of the whole struct.
…ient memory, fix bug due to improper cmac resumption
billphipps
left a comment
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.
Lemme know if you need to remove the dead code I noted. Ok if you want to keep it since you are adding more stuff in the future.
Co-authored-by: Bill Phipps <[email protected]>
Adds DMA support for CMAC. Can be used via ANY of wolfCrypt's CMAC APIs that accept a devId.
Passes wolfHSM and wolfCrypt tests on both POSIX sim and TC3xx.
A bit of a noisy diff, as I ran clang-format on some bigger blocks of code.
Future work: