ó
Õ{PXc           @` s`   d  d l  m Z m Z m Z d  d l Z d  d l Z e j e j ƒ d e f d „  ƒ  Yƒ Z	 d S(   i    (   t   absolute_importt   divisiont   print_functionNt   KeyDerivationFunctionc           B` s,   e  Z e j d  „  ƒ Z e j d „  ƒ Z RS(   c         C` s   d S(   so   
        Deterministically generates and returns a new key based on the existing
        key material.
        N(    (   t   selft   key_material(    (    sO   /usr/lib/python2.7/dist-packages/cryptography/hazmat/primitives/kdf/__init__.pyt   derive   s    c         C` s   d S(   sš   
        Checks whether the key generated by the key material matches the
        expected derived key. Raises an exception if they do not match.
        N(    (   R   R   t   expected_key(    (    sO   /usr/lib/python2.7/dist-packages/cryptography/hazmat/primitives/kdf/__init__.pyt   verify   s    (   t   __name__t
   __module__t   abct   abstractmethodR   R   (    (    (    sO   /usr/lib/python2.7/dist-packages/cryptography/hazmat/primitives/kdf/__init__.pyR      s   (
   t
   __future__R    R   R   R   t   sixt   add_metaclasst   ABCMetat   objectR   (    (    (    sO   /usr/lib/python2.7/dist-packages/cryptography/hazmat/primitives/kdf/__init__.pyt   <module>   s   