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

SHA-3 cSHAKE128 and cSHAKE256 support #5822

Open
wants to merge 78 commits into
base: development
Choose a base branch
from

Conversation

polhenarejos
Copy link
Contributor

Description

It adds support for cSHAKE128 and cSHAKE256 to SHA-3 module, with function-names and customization strings.
Test vectors also added.

Splitted from #5800.
Requires #5821.

Status

READY

Requires Backporting

NO

Migrations

NO

Additional comments

Any additional information that could be of interest

Todos

  • Tests
  • Documentation
  • Changelog updated

@polhenarejos polhenarejos mentioned this pull request May 8, 2022
3 tasks
@polhenarejos polhenarejos changed the title Sha3 cshake SHA-3 cSHAKE128 and cSHAKE256 support May 8, 2022
@tom-cosgrove-arm tom-cosgrove-arm added enhancement needs-review Every commit must be reviewed by at least two team members, component-crypto Crypto primitives and low-level interfaces needs-ci Needs to pass CI tests Community needs-reviewer This PR needs someone to pick it up for review priority-medium Medium priority - this can be reviewed as time permits priority-scheduled This PR is big - it will require time to be scheduled for review needs-preceding-pr Requires another PR to be merged first and removed priority-medium Medium priority - this can be reviewed as time permits labels May 9, 2022
@gilles-peskine-arm gilles-peskine-arm removed the needs-ci Needs to pass CI tests label May 13, 2022
@d3zd3z
Copy link
Contributor

d3zd3z commented May 16, 2022

I think this might have been a little overly-agressively split into multiple PRs, since #5820, and #5821 are just the beginning commits of this change. I'll put my comments in this one, and I suggest just closing the other two, as all of the changes for SHA-3 are in this PR.

Sanity checks are moved to mbedtls_sha3_xxx() functions.

Signed-off-by: Pol Henarejos <[email protected]>
Signed-off-by: Pol Henarejos <[email protected]>
Mbed TLS 3.5.0

Signed-off-by: Pol Henarejos <[email protected]>
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 needs-preceding-pr Requires another PR to be merged first needs-review Every commit must be reviewed by at least two team members, needs-reviewer This PR needs someone to pick it up for review priority-scheduled This PR is big - it will require time to be scheduled for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants