Skip to content

Crypto: Add checks for key sizes used with AES-GCM encryption.#1782

Merged
sorotokin merged 1 commit into
mainfrom
fix-1779
Jun 22, 2026
Merged

Crypto: Add checks for key sizes used with AES-GCM encryption.#1782
sorotokin merged 1 commit into
mainfrom
fix-1779

Conversation

@davidz25

Copy link
Copy Markdown
Contributor

Also update SessionEncryption and SoftwareSecureArea to pass Algorithm.A256GCM instead of Algorithm.A128GCM.

Fixes #1779.

Test: All unit tests pass.

Also update `SessionEncryption` and `SoftwareSecureArea` to pass
`Algorithm.A256GCM` instead of `Algorithm.A128GCM`.

Fixes #1779.

Test: All unit tests pass.
Signed-off-by: David Zeuthen <zeuthen@google.com>
@davidz25 davidz25 requested a review from sorotokin June 22, 2026 14:39
@sorotokin sorotokin merged commit 2febd67 into main Jun 22, 2026
2 checks passed
@sorotokin sorotokin deleted the fix-1779 branch June 22, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add checks for keysize in Crypto.encrypt() and Crypto.decrypt()

2 participants