aboutsummaryrefslogtreecommitdiffstats
path: root/src/cryptography/hazmat/primitives/kdf/concatkdf.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptography/hazmat/primitives/kdf/concatkdf.py')
-rw-r--r--src/cryptography/hazmat/primitives/kdf/concatkdf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/hazmat/primitives/kdf/concatkdf.py b/src/cryptography/hazmat/primitives/kdf/concatkdf.py
index 89c3b282..65b25cdc 100644
--- a/src/cryptography/hazmat/primitives/kdf/concatkdf.py
+++ b/src/cryptography/hazmat/primitives/kdf/concatkdf.py
@@ -32,7 +32,7 @@ def _common_args_checks(algorithm, length, otherinfo):
def _concatkdf_derive(key_material, length, auxfn, otherinfo):
- utils._check_bytes("key_material", key_material)
+ utils._check_byteslike("key_material", key_material)
output = [b""]
outlen = 0
counter = 1