aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.rst4
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst8
2 files changed, 8 insertions, 4 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index d0988b34..5223fea0 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -6,6 +6,10 @@ Changelog
.. note:: This version is not yet released and is under active development.
+* Add support for providing ``tag`` during
+ :class:`~cryptography.hazmat.primitives.ciphers.modes.GCM` finalization via
+ :meth:`~cryptography.hazmat.primitives.ciphers.AEADDecryptionContext.finalize_with_tag`.
+
1.8.1 - 2017-03-10
~~~~~~~~~~~~~~~~~~
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 5f4d7bf9..e99c2c0a 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -574,6 +574,10 @@ Interfaces
.. method:: finalize_with_tag(tag)
+ .. note::
+
+ This method is not supported when compiled against OpenSSL 1.0.1.
+
:param bytes tag: The tag bytes to verify after decryption.
:return bytes: Returns the remainder of the data.
:raises ValueError: This is raised when the data provided isn't
@@ -587,10 +591,6 @@ Interfaces
object, this method must be used instead of
:meth:`~cryptography.hazmat.primitives.ciphers.CipherContext.finalize`.
- .. note::
-
- This method is not supported when compiled against OpenSSL 1.0.1.
-
.. class:: CipherAlgorithm
A named symmetric encryption algorithm.