8000 Add hmac-sha256 software capsule by bradjc · Pull Request #3502 · tock/tock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add hmac-sha256 software capsule #3502

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 2 commits into from
Jul 17, 2023
Merged

Add hmac-sha256 software capsule #3502

merged 2 commits into from
Jul 17, 2023

Conversation

bradjc
Copy link
Contributor
@bradjc bradjc commented Jun 22, 2023

Pull Request Overview

This pull request adds an HMAC-sha256 capsule and a simple test.

Testing Strategy

Running the test on the nrf52840dk.

TODO or Help Wanted

This requires the update to the digest trait.

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

@bradjc
Copy link
Contributor Author
bradjc commented Jul 2, 2023

Rebased.

Copy link
Member
@ppannuto ppannuto left a comment

Choose a reason for hiding this comment

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

I believe this all looks correct.

Long term, the near-duplication of implementation (e.g. add_data vs add_mut_data) up and down the security/crypto ecosystem based on whether it's an in-place or two buffer feels fragile, but I don't have a better thought at the moment.

@ppannuto ppannuto added this pull request to the merge queue Jul 17, 2023
Merged via the queue into master with commit d0e7132 Jul 17, 2023
@bradjc bradjc deleted the hmac-sha256 branch July 17, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0