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