a a@s ddlZGdddejdZdS)Nc@s:eZdZejeedddZejeeddddZdS)KeyDerivationFunction) key_materialreturncCsdS)zo Deterministically generates and returns a new key based on the existing key material. N)selfrrrQ/usr/lib64/python3.9/site-packages/cryptography/hazmat/primitives/kdf/__init__.pyderive szKeyDerivationFunction.deriveN)r expected_keyrcCsdS)z Checks whether the key generated by the key material matches the expected derived key. Raises an exception if they do not match. Nr)rrr rrrverifyszKeyDerivationFunction.verify)__name__ __module__ __qualname__abcabstractmethodbytesrr rrrrr sr) metaclass)rABCMetarrrrrs