aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-22 11:35:12 -0500
committerPaul Kehrer <paul.l.kehrer@gmail.com>2014-04-22 11:35:12 -0500
commit14df7ca79e9c86349ca5035c0f3b3fda65b6b256 (patch)
tree80e8da7e2bd28c892745fca091a7189452f3d17f /docs/hazmat
parent8a312c2ccc99351f1a05dc607a574669944ea4cd (diff)
parent9bea9373efcddd390aa2d2f63d8690d6d3ceca14 (diff)
downloadcryptography-14df7ca79e9c86349ca5035c0f3b3fda65b6b256.tar.gz
cryptography-14df7ca79e9c86349ca5035c0f3b3fda65b6b256.tar.bz2
cryptography-14df7ca79e9c86349ca5035c0f3b3fda65b6b256.zip
Merge pull request #950 from Ayrx/cmac-multibackend
CMAC multibackend
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/mac/cmac.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/mac/cmac.rst b/docs/hazmat/primitives/mac/cmac.rst
index 8b88a3ce..a6b048b5 100644
--- a/docs/hazmat/primitives/mac/cmac.rst
+++ b/docs/hazmat/primitives/mac/cmac.rst
@@ -19,10 +19,12 @@ A subset of CMAC with the AES-128 algorithm is described in :rfc:`4493`.
.. class:: CMAC(algorithm, backend)
+ .. versionadded:: 0.4
+
CMAC objects take a
:class:`~cryptography.hazmat.primitives.interfaces.BlockCipherAlgorithm` provider.
- .. code-block:: pycon
+ .. doctest::
>>> from cryptography.hazmat.backends import default_backend
>>> from cryptography.hazmat.primitives import cmac