3 lá˜_ã@sDddlmZmZmZddlZddlZejejƒGdd„deƒƒZ dS)é)Úabsolute_importÚdivisionÚprint_functionNc@s(eZdZejdd„ƒZejdd„ƒZdS)ÚKeyDerivationFunctioncCsdS)zo Deterministically generates and returns a new key based on the existing key material. N©)ÚselfÚ key_materialrrú /usr/lib64/python3.6/__init__.pyÚderiveszKeyDerivationFunction.derivecCsdS)zš Checks whether the key generated by the key material matches the expected derived key. Raises an exception if they do not match. Nr)rrZ expected_keyrrr ÚverifyszKeyDerivationFunction.verifyN)Ú__name__Ú __module__Ú __qualname__ÚabcÚabstractmethodr r rrrr r sr) Z __future__rrrrZsixZ add_metaclassÚABCMetaÚobjectrrrrr Ús