-
Notifications
You must be signed in to change notification settings - Fork 132
ML-KEM memory safety #2263
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
Open
m271828
wants to merge
46
commits into
aws:main
Choose a base branch
from
m271828:memory-safety-ml-kem
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
ML-KEM memory safety #2263
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
0f27070
Update keygen functions for memory safety
m271828 a333b20
Plumb size through to KEM layer. (Kyber also uses KEM so APIs need to…
m271828 d52e282
Merge branch 'main' into memory-safety-ml-kem
m271828 bde3e83
Merge branch 'main' into memory-safety-ml-kem
m271828 e17132e
Add length checks to self_check
m271828 9e7aaa7
Merge branch 'memory-safety-ml-kem' of github.com:m271828/aws-lc into…
m271828 8965154
Merge branch 'main' into memory-safety-ml-kem
m271828 398b012
Add length checks to enc/decap functions
m271828 49b3c18
Merge branch 'memory-safety-ml-kem' of github.com:m271828/aws-lc into…
m271828 9ca6930
Remove unneeded include
m271828 6ca8db6
Merge branch 'main' into memory-safety-ml-kem
m271828 f0b1273
Remove unused code
m271828 2d43ad5
Merge branch 'memory-safety-ml-kem' of github.com:m271828/aws-lc into…
m271828 a827090
Add unit test file
m271828 79954a1
Add unit test file
m271828 45f85d2
Remove tests from self_check
m271828 2365123
Add parameterized tests for short, exact and long length inputs
m271828 505006f
Merge branch 'main' into memory-safety-ml-kem
m271828 f775a2a
Add C code indicator around ml_kem header
m271828 2f07a28
Fix unit test
m271828 2d0fee4
Try to work around EVP layer
m271828 606e7ca
Quietly export functions needed for testing
m271828 b239b14
Merge branch 'main' into memory-safety-ml-kem
m271828 79df814
Merge branch 'main' into memory-safety-ml-kem
m271828 7ce15b7
Merge branch 'main' into memory-safety-ml-kem
m271828 ceb7b8f
Merge branch 'main' into memory-safety-ml-kem
m271828 34ff02b
Merge branch 'main' into memory-safety-ml-kem
m271828 122b6e2
Make length an exact check
m271828 2ab7a11
Merge branch 'memory-safety-ml-kem' of github.com:m271828/aws-lc into…
m271828 e67cf52
Remove exports on *_no_self_test functions
m271828 8549d1e
Merge branch 'main' into memory-safety-ml-kem
m271828 28abe12
Match external API which allows buffers to be longer than required le…
m271828 1f570a1
Make length parameters in/out to match EVP API
m271828 44a5e85
Merge branch 'main' into memory-safety-ml-kem
m271828 a7fef2e
Fix type
m271828 3df81d6
Adjust array initialization
m271828 56cb64e
Fix logic for two parameter length checks
m271828 c03d982
Remove debug statements
m271828 8c9ca17
Remove zero'ing of unwritten buffer
m271828 de7cf39
Merge branch 'main' into memory-safety-ml-kem
m271828 adcedf4
Update to work with new internal structure
m271828 73160b6
Code cleanup
m271828 2be97e8
Wrote parameter name
m271828 dfd25bb
Code review revisions
m271828 8834067
Merge branch 'main' into memory-safety-ml-kem
m271828 d3ac208
Merge branch 'main' into memory-safety-ml-kem
m271828 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.
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.