aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/primitives/symmetric-encryption.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-12-04 16:31:59 -0600
committerAlex Gaynor <alex.gaynor@gmail.com>2013-12-04 16:31:59 -0600
commitd4f938303d1c5813bf23a8acfe9326817bcd95e9 (patch)
treeb8774484bd2402beeb06d817b3412ea82e632122 /docs/hazmat/primitives/symmetric-encryption.rst
parent3029fe414a3dba0231a44e72ddfc398634c173de (diff)
downloadcryptography-d4f938303d1c5813bf23a8acfe9326817bcd95e9.tar.gz
cryptography-d4f938303d1c5813bf23a8acfe9326817bcd95e9.tar.bz2
cryptography-d4f938303d1c5813bf23a8acfe9326817bcd95e9.zip
Be more specific about when you can trust authentication on GCM
Diffstat (limited to 'docs/hazmat/primitives/symmetric-encryption.rst')
-rw-r--r--docs/hazmat/primitives/symmetric-encryption.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/symmetric-encryption.rst b/docs/hazmat/primitives/symmetric-encryption.rst
index 8d8d558b..977a897b 100644
--- a/docs/hazmat/primitives/symmetric-encryption.rst
+++ b/docs/hazmat/primitives/symmetric-encryption.rst
@@ -329,9 +329,10 @@ Modes
.. danger::
- When using this mode you MUST not use the decrypted data until every
- byte has been decrypted. GCM provides NO guarantees of ciphertext
- integrity until decryption is complete.
+ When using this mode you MUST not use the decrypted data until
+ :meth:`cryptography.hazmat.primitives.interfaces.CipherContext.finalize`
+ has been called. GCM provides NO guarantees of ciphertext integrity
+ until decryption is complete.
GCM (Galois Counter Mode) is a mode of operation for block ciphers. An
AEAD (authenticated encryption with additional data) mode is a type of