-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[Backport 2.28] Fix doc on GCM API #9774
Open
Harry-Ramsey
wants to merge
5
commits into
Mbed-TLS:mbedtls-2.28
Choose a base branch
from
Harry-Ramsey:update-gcm-doc-2.28
base: mbedtls-2.28
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
[Backport 2.28] Fix doc on GCM API #9774
Harry-Ramsey
wants to merge
5
commits into
Mbed-TLS:mbedtls-2.28
from
Harry-Ramsey:update-gcm-doc-2.28
+4,364
−10
Conversation
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 commit updates GCM buffer overlap documentation to explicitly support overlapping encryption/decryption buffers for GCM. Signed-off-by: Harry Ramsey <[email protected]>
Technical issues earlier (Git allowed me to push to a branch targetting a different base without requiring a force push). |
This was referenced Nov 13, 2024
This commit adds test cases for input and output buffer overlap. The data for the test cases is a duplicate of existing encrypt/decrypt test cases. The two test functions gcm_<encrypt/decrypt>_input_output_buffer_overlap are modified to use a single malloc buffer rounded to the nearest 128-bits/16-bytes for input and output. Signed-off-by: Harry Ramsey <[email protected]>
Harry-Ramsey
force-pushed
the
update-gcm-doc-2.28
branch
from
November 13, 2024 11:24
3205ca6
to
0cd2951
Compare
This commit adds a new line to the end of test case files to pass check_files. Signed-off-by: Harry Ramsey <[email protected]>
Harry-Ramsey
added
enhancement
needs-review
Every commit must be reviewed by at least two team members,
component-crypto
Crypto primitives and low-level interfaces
priority-medium
Medium priority - this can be reviewed as time permits
size-xs
Estimated task size: extra small (a few hours at most)
labels
Nov 13, 2024
This commit removes trailing whitespace in test_suite_gcm.function. Signed-off-by: Harry Ramsey <[email protected]>
This commit fixes documentation specifying buffer overlap on GCM decryption functions. Signed-off-by: Harry Ramsey <[email protected]>
eleuzi01
approved these changes
Nov 14, 2024
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.
LGTM, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component-crypto
Crypto primitives and low-level interfaces
enhancement
needs-review
Every commit must be reviewed by at least two team members,
priority-medium
Medium priority - this can be reviewed as time permits
size-xs
Estimated task size: extra small (a few hours at most)
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.
Description
This is a backport of #7977.
PR checklist
Please remove the segment/s on either side of the | symbol as appropriate, and add any relevant link/s to the end of the line.
If the provided content is part of the present PR remove the # symbol.
Notes for the submitter
Please refer to the contributing guidelines, especially the
checklist for PR contributors.
Help make review efficient: