diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-01-17 18:13:11 -0600 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2019-01-17 19:13:11 -0500 |
commit | 7f8d9c06ef386a9187aed3eaa4d29a88f11f8c7c (patch) | |
tree | 3f92cc92fd9cb681ec004e20a51b1390d73d6016 /src/cryptography/hazmat/primitives | |
parent | a77994408da328e6b0fba331211be9ad2db5c5b6 (diff) | |
download | cryptography-7f8d9c06ef386a9187aed3eaa4d29a88f11f8c7c.tar.gz cryptography-7f8d9c06ef386a9187aed3eaa4d29a88f11f8c7c.tar.bz2 cryptography-7f8d9c06ef386a9187aed3eaa4d29a88f11f8c7c.zip |
support byteslike in KBKDFHMAC (#4711)
Diffstat (limited to 'src/cryptography/hazmat/primitives')
-rw-r--r-- | src/cryptography/hazmat/primitives/kdf/kbkdf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/primitives/kdf/kbkdf.py b/src/cryptography/hazmat/primitives/kdf/kbkdf.py index 74fe9e29..56783a85 100644 --- a/src/cryptography/hazmat/primitives/kdf/kbkdf.py +++ b/src/cryptography/hazmat/primitives/kdf/kbkdf.py @@ -100,7 +100,7 @@ class KBKDFHMAC(object): if self._used: raise AlreadyFinalized - utils._check_bytes("key_material", key_material) + utils._check_byteslike("key_material", key_material) self._used = True # inverse floor division (equivalent to ceiling) |