diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-01-17 09:41:25 -0600 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2019-01-17 10:41:25 -0500 |
commit | 8d9ea52be9e7de1373641d3afaed9b292cb03f43 (patch) | |
tree | 4ac1aba34cc455f4e0b20b8b3a010ef81221a6c8 /docs/hazmat/primitives | |
parent | b480d2d4dbc6339f476d49faa0900eae2f4c1d07 (diff) | |
download | cryptography-8d9ea52be9e7de1373641d3afaed9b292cb03f43.tar.gz cryptography-8d9ea52be9e7de1373641d3afaed9b292cb03f43.tar.bz2 cryptography-8d9ea52be9e7de1373641d3afaed9b292cb03f43.zip |
support byteslike in hmac update (#4705)
needed for some KDF keying material
Diffstat (limited to 'docs/hazmat/primitives')
-rw-r--r-- | docs/hazmat/primitives/mac/hmac.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/hazmat/primitives/mac/hmac.rst b/docs/hazmat/primitives/mac/hmac.rst index 4c2f21c8..9d11694b 100644 --- a/docs/hazmat/primitives/mac/hmac.rst +++ b/docs/hazmat/primitives/mac/hmac.rst @@ -70,7 +70,8 @@ of a message. .. method:: update(msg) - :param bytes msg: The bytes to hash and authenticate. + :param msg: The bytes to hash and authenticate. + :type msg: :term:`bytes-like` :raises cryptography.exceptions.AlreadyFinalized: See :meth:`finalize` :raises TypeError: This exception is raised if ``msg`` is not ``bytes``. |