aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends/interfaces.rst
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2017-05-29 10:13:35 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2017-05-29 11:13:35 -0400
commit7bc36865fcdb1057a4d2925d28f688c5590d6eaf (patch)
treeac7fec3f87e1e786625c4d1196549c10573859ce /docs/hazmat/backends/interfaces.rst
parentf99d45e30b59771b5d675e91362b7d64dd367a4a (diff)
downloadcryptography-7bc36865fcdb1057a4d2925d28f688c5590d6eaf.tar.gz
cryptography-7bc36865fcdb1057a4d2925d28f688c5590d6eaf.tar.bz2
cryptography-7bc36865fcdb1057a4d2925d28f688c5590d6eaf.zip
move MACContext to mac.py and eliminate interfaces.py (#3631)
* move MACContext to mac.py and eliminate interfaces.py finally * improve title * re-add and deprecate interfaces.MACContext * use pytest.warns instead of deprecated_call The pytest docs insist that deprecation warnings are handled differently and that you should use deprecated_call, but this works so okay then
Diffstat (limited to 'docs/hazmat/backends/interfaces.rst')
-rw-r--r--docs/hazmat/backends/interfaces.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index e3c67474..4d0520fa 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -159,14 +159,14 @@ A specific ``backend`` may provide one or more of these interfaces.
.. method:: create_cmac_ctx(algorithm)
Create a
- :class:`~cryptography.hazmat.primitives.interfaces.MACContext` that
+ :class:`~cryptography.hazmat.primitives.mac.MACContext` that
uses the specified ``algorithm`` to calculate a message authentication code.
:param algorithm: An instance of
:class:`~cryptography.hazmat.primitives.ciphers.BlockCipherAlgorithm`.
:returns:
- :class:`~cryptography.hazmat.primitives.interfaces.MACContext`
+ :class:`~cryptography.hazmat.primitives.mac.MACContext`
.. class:: PBKDF2HMACBackend