diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2013-12-06 14:26:08 -0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2013-12-06 14:26:08 -0800 |
commit | b5c4891e0c2e30118641092aff975e8d0e63cbab (patch) | |
tree | b6209797e16ed81a5021fa6172e47ce2ebd94e1d /docs/hazmat/bindings/interfaces.rst | |
parent | 07c36baec6ee7d4a89b3cbe18a37b9e5cbe48f64 (diff) | |
parent | a07925a154e2b28db30499c5a3cf40fedc451d10 (diff) | |
download | cryptography-b5c4891e0c2e30118641092aff975e8d0e63cbab.tar.gz cryptography-b5c4891e0c2e30118641092aff975e8d0e63cbab.tar.bz2 cryptography-b5c4891e0c2e30118641092aff975e8d0e63cbab.zip |
Merge pull request #285 from reaperhulk/fix-282
raise ValueErrors when supplying/not supplying tags for GCM
Diffstat (limited to 'docs/hazmat/bindings/interfaces.rst')
-rw-r--r-- | docs/hazmat/bindings/interfaces.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/hazmat/bindings/interfaces.rst b/docs/hazmat/bindings/interfaces.rst index c55d86dc..711c82c2 100644 --- a/docs/hazmat/bindings/interfaces.rst +++ b/docs/hazmat/bindings/interfaces.rst @@ -69,6 +69,8 @@ A specific ``backend`` may provide one or more of these interfaces. :returns: :class:`~cryptography.hazmat.primitives.interfaces.CipherContext` + :raises ValueError: When tag is not None in an AEAD mode + .. method:: create_symmetric_decryption_ctx(cipher, mode) @@ -86,6 +88,8 @@ A specific ``backend`` may provide one or more of these interfaces. :returns: :class:`~cryptography.hazmat.primitives.interfaces.CipherContext` + :raises ValueError: When tag is None in an AEAD mode + .. class:: HashBackend |