diff options
| author | Ayrx <terrycwk1994@gmail.com> | 2014-05-06 13:33:48 +0800 |
|---|---|---|
| committer | Ayrx <terrycwk1994@gmail.com> | 2014-05-06 13:33:48 +0800 |
| commit | 7cc0c834ff41f6309d0ccba7a5e3534932702bf8 (patch) | |
| tree | 4727fa4039147ab6f3fb50130c8141ccf3e92ce8 /cryptography | |
| parent | f1981a612ea70710138a701138c269655b16985b (diff) | |
| download | cryptography-7cc0c834ff41f6309d0ccba7a5e3534932702bf8.tar.gz cryptography-7cc0c834ff41f6309d0ccba7a5e3534932702bf8.tar.bz2 cryptography-7cc0c834ff41f6309d0ccba7a5e3534932702bf8.zip | |
Fixed test failures
Diffstat (limited to 'cryptography')
| -rw-r--r-- | cryptography/hazmat/primitives/kdf/hkdf.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptography/hazmat/primitives/kdf/hkdf.py b/cryptography/hazmat/primitives/kdf/hkdf.py index 78c5bfc1..6d34a0f7 100644 --- a/cryptography/hazmat/primitives/kdf/hkdf.py +++ b/cryptography/hazmat/primitives/kdf/hkdf.py @@ -101,6 +101,7 @@ class HKDF(object): if not constant_time.bytes_eq(self.derive(key_material), expected_key): raise InvalidKey + @utils.register_interface(interfaces.KeyDerivationFunction) class HKDFExpandOnly(HKDF): def __init__(self, algorithm, length, info, backend): |
