Skip to content
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

add AESGCM AEAD support #3785

Merged
merged 3 commits into from
Jul 17, 2017
Merged

add AESGCM AEAD support #3785

merged 3 commits into from
Jul 17, 2017

Conversation

reaperhulk
Copy link
Member

Fixes #3784

I decided to name it nonce this time. This makes us inconsistent with the arg naming on the GCM mode itself, but I think we should call it a nonce since that's what it is. NIST's own GCM document calls it an initialization vector but then ALSO says it is synonymous with nonce.

@reaperhulk
Copy link
Member Author

This is unfortunately going to add about 20-30s to each test run and some indeterminate amount of RAM consumed

Copy link
Member

@alex alex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only one comment apparently...

@@ -161,3 +161,74 @@ also support providing integrity for associated data which is not encrypted.
doesn't validate this exception will be raised. This will occur
when the ciphertext has been changed, but will also occur when the
key, nonce, or associated data are wrong.

.. class:: AESGCM(key)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please document this above CCM

@reaperhulk
Copy link
Member Author

This also fixes #1199

@alex alex merged commit a217358 into pyca:master Jul 17, 2017
@reaperhulk reaperhulk deleted the aead-aesgcm branch July 9, 2018 05:27
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Implement One Shot AESGCM
2 participants