-
Notifications
You must be signed in to change notification settings - Fork 96
Implement SHAKE in sha3.c #648
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
valeriosetti
merged 14 commits into
Mbed-TLS:development
from
gilles-peskine-arm:sha3-shake-builtin
Jan 20, 2026
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0162e7d
Distinguish between "some sha3.c" and "some SHA3 hash"
gilles-peskine-arm 19daa03
Temporarily declare built-in SHAKE in crypto_config.h
gilles-peskine-arm 5ba3c76
Adding SHA-3 SHAKE128 and SHA-3 SHAKE256.
polhenarejos d7616d9
Allow multiple calls to mbedtls_sha3_finish()
polhenarejos b297452
Don't free the context in finish() when doing SHAKE
gilles-peskine-arm 6f2a453
Add self tests for SHAKE
polhenarejos 54f761e
Don't try to build and run SHAKE self-test when SHAKE is disabled
gilles-peskine-arm e6b87da
Update sha3.h documentation for SHAKE
gilles-peskine-arm c1deb33
SHAKE128, SHAKE256: multi-part input and multi-output tests
gilles-peskine-arm 3988f04
Test SHA3/SHAKE with empty input, with or without an update() call
gilles-peskine-arm 271168c
Add one-shot test cases for SHAKE128 and SHAKE256
gilles-peskine-arm 239a07d
Fix build failure with some SHAKE but no SHA3 hash
gilles-peskine-arm 2e0cbd8
Explain why MBEDTLS_SHA3_WANT_SHAKEnnn ≠ MBEDTLS_PSA_BUILTIN_SHAKEnnn
gilles-peskine-arm 4c973cf
Simplify context reuse protection in mbedtls_sha3_starts
gilles-peskine-arm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.