-
Notifications
You must be signed in to change notification settings - Fork 12
Harden key handling and crypto backend edge cases #88
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
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
044a2c5
Use the epoch mask when purging cached keys
bifurcation 264a3ca
Stop protecting frames after counter exhaustion
bifurcation b9310bd
Enforce key direction on protect and unprotect
bifurcation 1249207
Validate full header length before parsing fields
bifurcation 2bfd4ba
Reject oversized inputs in CTR mode
bifurcation 370fad4
Use an empty HKDF salt when deriving SFrame keys
bifurcation 673c7ea
Document the tradeoffs of the 32-bit tag suite
bifurcation ccf45cb
Zero-fill integer buffers before encoding
bifurcation 306ccda
Reject empty integer encodings when decoding headers
bifurcation 041440e
Initialize fixed-capacity vectors before copying data
bifurcation 37e4586
Document that replay handling stays with the caller
bifurcation 0a9de4d
Hide STL base classes behind the wrapper types
bifurcation 4a103f1
Clear stale OpenSSL errors before backend operations
bifurcation 00cfa4f
Clarify the scope of the HKDF FIPS override
bifurcation cac4c28
Document the lifetime requirement for error messages
bifurcation cc75c7f
Explain why CTR finalization uses a null output buffer
bifurcation 22ebec7
Check OpenSSL size conversions before narrowing to int
bifurcation 05f3e99
Harden release builds with compiler and linker flags
bifurcation d8c1e51
Finish the STL wrapper cleanup
bifurcation 6dd3680
Check unprotect usage in the decrypt path
bifurcation ee97c4d
Apply PR review cleanup across shared crypto helpers
bifurcation 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
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.
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.
Is it used actually outside of crypto files ? If not, wouldnt it be sufficient to call it directly?
Also ive noticed its also called in boringssl, and there it gets less clear. If method is used outside, maybe we could change the name ?