aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cryptography/hazmat/primitives/kdf/hkdf.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/cryptography/hazmat/primitives/kdf/hkdf.py b/cryptography/hazmat/primitives/kdf/hkdf.py
index 71c277f4..ce264f9b 100644
--- a/cryptography/hazmat/primitives/kdf/hkdf.py
+++ b/cryptography/hazmat/primitives/kdf/hkdf.py
@@ -14,10 +14,14 @@
import six
from cryptography import exceptions
-from cryptography.hazmat.primitives import hmac
+from cryptography import utils
+
from cryptography.hazmat.primitives import constant_time
+from cryptography.hazmat.primitives import hmac
+from cryptography.hazmat.primitives import interfaces
+@utils.register_interface(interfaces.KeyDerivationFunction)
class HKDF(object):
def __init__(self, algorithm, length, salt, info, backend):
self._algorithm = algorithm