-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
gh-99108: Implement HACL* HMAC #130157
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
gh-99108: Implement HACL* HMAC #130157
Changes from all commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
20ce770
Merge branch 'main' into feat/hmac/hacl-99108
picnixz 713fe1b
Merge remote-tracking branch 'upstream/main' into feat/hmac/hacl-99108
picnixz bc2a2f8
Merge remote-tracking branch 'upstream/main' into feat/hmac/hacl-99108
picnixz 9fc5a71
Merge remote-tracking branch 'upstream/main' into feat/hmac/hacl-99108
picnixz e88b113
Merge remote-tracking branch 'upstream/main' into feat/hmac/hacl-99108
picnixz d2e72aa
update vendored HACL* project
picnixz 9fa2b0b
prepare build configurations
picnixz 1f33995
add HMAC module
picnixz 8162616
add HMAC module state
picnixz 02988f0
add HMAC-HASH static information
picnixz 8df0fbf
implement HMAC-HASH known hashes table
picnixz f541600
add HMAC unknown hash exception type
picnixz 88d2b96
intern `"lower"` for `str.lower` calls
picnixz 77e51d4
implement hash information lookup
picnixz 264e43c
add one-shot HMAC HACL* minimal API
picnixz c791feb
implement one-shot HMAC
picnixz 6b77844
implement minimal HMAC object interface
picnixz 0770202
implement HMAC simple getters
picnixz af443c2
implement `HMAC.__repr__()` method
picnixz 4a0e9cd
implement streaming `HMAC.update()` macros
picnixz 2d02577
implement streaming `HMAC.update()` interface
picnixz 2b010ef
implement `HMAC.{digest,hexdigest}()` methods
picnixz 6227892
implement `HMAC.copy()` interface
picnixz 5c13316
add vectorized blake2s/2b kinds
picnixz 617b793
implement `HMAC.new()` interface
picnixz cc28e3e
update HMAC python interface
picnixz 166e7e8
add blurb & CHANGELOG entries
picnixz f2817ae
add `hashlib_helper.requires_builtin_hmac`
picnixz 2b544e5
add various tests for the HACL* HMAC implementation
picnixz b4bfe5e
update comments concerning `int` return values
picnixz 3aae0a8
handle error code returned by `Hacl_Streaming_HMAC_digest`
picnixz 59b365a
Merge remote-tracking branch 'upstream/main' into feat/hmac/hacl-99108
picnixz c86d51e
summarize HMAC changes in "Improved Modules" as well
picnixz 5fd72f0
force safe downcast to `uint32_t` in `hmac_new_initial_state`
picnixz da71ef8
`make clinic`
picnixz 5baa874
fix HMAC max block size
picnixz 10e1189
Merge remote-tracking branch 'upstream/main' into feat/hmac/hacl-99108
picnixz aab2b0b
align naming of one-shot HMAC with OpenSSL
picnixz da3a3e3
test one-shot HMAC functions
picnixz b2540ef
remove dubious `eval`
picnixz e90f685
Merge remote-tracking branch 'upstream/main' into feat/hmac/hacl-99108
picnixz 0b18234
fixup test docstring
picnixz 218015a
remove un-necessary guards
picnixz d0ca0e5
Merge remote-tracking branch 'upstream/main' into feat/hmac/hacl-99108
picnixz 0ae4a9d
make clinic
picnixz 47a15d6
make regen-sbom
picnixz f203c6d
fix obvious typo
picnixz a5fc810
narrow `except` guard
picnixz b58073d
put `hmac` section before `http` section
picnixz 6f84a82
cosmetic changes in hmac.py
picnixz de7ad74
group cryptographic primitives modules
picnixz 674af07
better group cryptographic primitives
picnixz 26cfeb0
update naming
picnixz 258aa20
update naming
picnixz 629cbce
Merge branch 'main' into feat/hmac/hacl-99108
picnixz 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
Oops, something went wrong.
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.