aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2018-07-17 22:56:12 +0800
committerAlex Gaynor <alex.gaynor@gmail.com>2018-07-17 10:56:12 -0400
commit12a1cacb6ae6de51a003dcc884e769854a1345a8 (patch)
tree3efc3e8ca27249f8de685319687bd79bb515c8e5 /docs/hazmat/primitives/symmetric-encryption.rst
parent7ca0e46d82606b8a12ff323181065a00885d39dc (diff)
downloadcryptography-12a1cacb6ae6de51a003dcc884e769854a1345a8.tar.gz
cryptography-12a1cacb6ae6de51a003dcc884e769854a1345a8.tar.bz2
cryptography-12a1cacb6ae6de51a003dcc884e769854a1345a8.zip
raise ValueError on zero length GCM IV (#4348)
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 5b600090..e74b4d66 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -399,7 +399,8 @@ Modes
this is ``16``, meaning tag truncation is not allowed. Allowing tag
truncation is strongly discouraged for most applications.
- :raises ValueError: This is raised if ``len(tag) < min_tag_length``.
+ :raises ValueError: This is raised if ``len(tag) < min_tag_length`` or the
+ ``initialization_vector`` is too short.
:raises NotImplementedError: This is raised if the version of the OpenSSL
backend used is 1.0.1 or earlier.