diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-16 15:56:10 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-16 15:56:10 -0400 |
commit | a7fa1b701b0788f18f0d4c3d5ad1f56a1086c772 (patch) | |
tree | 8787cbc4ee0311cf373a4e9d035a0c23ff75d8dd /docs | |
parent | 04fb2bcbd5084154c799d1c694d1fbeed29d8041 (diff) | |
parent | 6cf29f26989868ca221b3d06526bf750224b7a28 (diff) | |
download | cryptography-a7fa1b701b0788f18f0d4c3d5ad1f56a1086c772.tar.gz cryptography-a7fa1b701b0788f18f0d4c3d5ad1f56a1086c772.tar.bz2 cryptography-a7fa1b701b0788f18f0d4c3d5ad1f56a1086c772.zip |
Merge pull request #932 from Ayrx/fix-cmac-interface
Changed cmac_supported() to cmac_algorithm_supported()
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/backends/interfaces.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst index 546aa766..394d060b 100644 --- a/docs/hazmat/backends/interfaces.rst +++ b/docs/hazmat/backends/interfaces.rst @@ -327,9 +327,12 @@ A specific ``backend`` may provide one or more of these interfaces. A backend with methods for using CMAC - .. method:: cmac_supported() + .. method:: cmac_algorithm_supported(algorithm) - :return: True if CMAC is supported by the backend. False if otherwise. + :param algorithm: An instance of a + :class:`~cryptography.hazmat.primitives.interfaces.BlockCipherAlgorithm` + provider. + :return: Returns True if the block cipher is supported for CMAC by this backend .. method:: create_cmac_ctx(algorithm) |