Skip to content
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

Support SHA-3 through mbedtls_md #3752

Closed
gilles-peskine-arm opened this issue Oct 7, 2020 · 2 comments
Closed

Support SHA-3 through mbedtls_md #3752

gilles-peskine-arm opened this issue Oct 7, 2020 · 2 comments
Labels
component-crypto Crypto primitives and low-level interfaces enhancement

Comments

@gilles-peskine-arm
Copy link
Contributor

gilles-peskine-arm commented Oct 7, 2020

  • Support the 4 SHA3 variants through mbedtls_md_xxx.
  • Add corresponding unit tests.
  • HMAC-SHA3 is not officially standardized, but is unambiguous and has a small amount of use. Attempting to use it (e.g. with mbedtls_md_hmac, or mbedtls_md_setup with hmac=1) must either work or return a documented error. Either way this must be unit-tested.

This is already done in #1549 but it require a major rebase.

Prerequisites:

@gilles-peskine-arm gilles-peskine-arm added enhancement component-crypto Crypto primitives and low-level interfaces Product Backlog labels Oct 7, 2020
@bensze01 bensze01 added this to the SHA-3 and family milestone Jul 28, 2021
@bensze01 bensze01 removed this from the SHA-3 and family milestone Aug 11, 2021
@mpg
Copy link
Contributor

mpg commented Jun 8, 2023

Note: it looks to me like this might have been resolved by merging #7708, but I'm not familiar enough with SHA-3 to judge for myself at a glance if 7708 did everything mentioned here or if there are some items left todo here.

So, I'm not closing the issue, and leaving the decision to people more familiar with this - perhaps @gilles-peskine-arm or @daverodgman

@gilles-peskine-arm
Copy link
Contributor Author

Completed in #7708 (including testing of HMAC).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-crypto Crypto primitives and low-level interfaces enhancement
Projects
None yet
Development

No branches or pull requests

4 participants