-
-
Notifications
You must be signed in to change notification settings - Fork 81
Feat/crypto registry aes gcm siv #759
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -338,6 +338,16 @@ | |||||||||
| "pattern": "AES[-(128|192|256)][-(GCM|CCM)][-{tagLength}][-{ivLength}]", | ||||||||||
| "primitive": "ae" | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| "standard": [ | ||||||||||
| { | ||||||||||
| "name": "RFC 8452", | ||||||||||
| "url": "https://doi.org/10.17487/RFC8452" | ||||||||||
| } | ||||||||||
| ], | ||||||||||
| "pattern": "AES[-(128|192|256)]-GCM-SIV[-{tagLength}][-{ivLength}]", | ||||||||||
| "primitive": "ae" | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| "standard": [ | ||||||||||
| { | ||||||||||
|
|
@@ -468,6 +478,10 @@ | |||||||||
| { | ||||||||||
| "pattern": "ChaCha20-Poly1305", | ||||||||||
| "primitive": "ae" | ||||||||||
| }, | ||||||||||
| { | ||||||||||
| "pattern": "XChaCha20-Poly1305", | ||||||||||
| "primitive": "ae" | ||||||||||
|
Comment on lines
+481
to
+484
|
||||||||||
| }, | |
| { | |
| "pattern": "XChaCha20-Poly1305", | |
| "primitive": "ae" |
Copilot
AI
Jan 15, 2026
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.
The removal of the BLAKE2b-HMAC variant (lines 944-946 in the original) is not mentioned in the PR description or issue #758. This deletion should either be reverted and submitted in a separate PR with appropriate justification, or the PR description should be updated to explain why this variant is being removed.
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.
After reading the RFC, I understand that in AES-GCM-SIV the tagLength and ivLength are fixed at 16 bytes and 12 bytes, respectively. Since these values are well-defined by the RFC, the [-{tagLength}][-{ivLength}] portion can be removed from the pattern.