aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2019-01-16 19:10:48 -0600
committerAlex Gaynor <alex.gaynor@gmail.com>2019-01-16 20:10:48 -0500
commitbfc6fae472457c37abafb3818b44f0bd639be6cc (patch)
tree6670cd7d3ee34e8af308f4fe27af6dcb5a89d9b5 /docs/hazmat
parentc6656af81d3b4440d0d1032fd82e64d717541d62 (diff)
downloadcryptography-bfc6fae472457c37abafb3818b44f0bd639be6cc.tar.gz
cryptography-bfc6fae472457c37abafb3818b44f0bd639be6cc.tar.bz2
cryptography-bfc6fae472457c37abafb3818b44f0bd639be6cc.zip
support bytes-like keys in CMAC and HMAC contexts (#4701)
Diffstat (limited to 'docs/hazmat')
-rw-r--r--docs/hazmat/primitives/mac/hmac.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/mac/hmac.rst b/docs/hazmat/primitives/mac/hmac.rst
index c605e58c..4c2f21c8 100644
--- a/docs/hazmat/primitives/mac/hmac.rst
+++ b/docs/hazmat/primitives/mac/hmac.rst
@@ -54,7 +54,8 @@ of a message.
...
cryptography.exceptions.InvalidSignature: Signature did not match digest.
- :param bytes key: Secret key as ``bytes``.
+ :param key: Secret key as ``bytes``.
+ :type key: :term:`bytes-like`
:param algorithm: An
:class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm`
instance such as those described in