-
Notifications
You must be signed in to change notification settings - Fork 118
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
Design for support of HMAC precomputed keys #1574
Merged
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
fa25f37
Initial design for export of Merkle-Damgard hash state
7058ed3
Initial design for support of HMAC precomputed keys
3a3a9ad
Addressing comments from review of PR #1574
f4b67b1
Clarifying definition of EVP_MAX_MD_CHAINING_LENGTH following review
7148248
Merge branch 'main' into hmac-precompute
8b5dbea
Remove redundant function declaration in HMAC/SHA256 trampoline
6734e02
Function comments improvements from review of PR #1574
7c68e2f
Update function comment in crypto/fipsmodule/hmac/internal.h
fabrice102 1f6b510
Function comments improvements from review of PR #1574
a11cb33
Improve error management and check out_len - from review of PR #1574
41fd25d
Apply suggestions from code review
fabrice102 6f14823
Apply suggestions from code review
73debcf
Function comments improvements from review of PR #1574
fabrice102 580159c
Extend PR #1574 to the other hash functions
35b4f90
Fix warnings when assert disabled in release mode
31a27df
Improving comment
e867e8f
Fix bug in HMAC_with_precompute
57aec5b
Add service indicator tests for HMAC with precomputed keys
e16bd40
Fix SHA-512 Init_with_stae/get_state + comment improvements
866fd7f
Unit test for HMAC_with_precompute service indicator
7a99180
Unit test for hash Init_with_state/get_state after hashing > 2^32 bits
7227a2c
Fixing type of some constants
6df5d2e
Adding unit tests to increase coverage
43510e5
Style and comment improvements from review of PR aws/aws-lc#1574
220b8d3
Merge branch 'main' into hmac-precompute
4ec5b37
Add hmac.errordata
34e5089
python3 ./util/generate_build_files.py
skmcgrail f096cfb
Merge branch 'main' into hmac-precompute
nebeid cd102d6
Fix Windows ARM64 compilation + comment improvements
1fd75d9
Merge branch 'main' into hmac-precompute
nebeid d77ee73
Merge branch 'main' into hmac-precompute
nebeid 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In many external API calls here, we're directly accessing
ctx->state
or other members ofctx
without checking it's not null. I think we should handle this as was done in #1398. This can be its own PR.