o
    àý°j  ã                   @  s8   d dl mZ d dlZd dlmZ G dd„ dejd�ZdS )é    )ÚannotationsN)ÚBufferc                   @  s<   e Zd Zejddd„ƒZejdd	d
„ƒZejddd„ƒZdS )ÚKeyDerivationFunctionÚkey_materialÚbytesÚreturnc                 C  ó   dS )zo
        Deterministically generates and returns a new key based on the existing
        key material.
        N© )Úselfr   r	   r	   úž/root/aizidognhua/tmp/workspace/projects/ec89d86c-575f-41c9-af57-ac45cbdbf775/venv/lib/python3.10/site-packages/cryptography/hazmat/primitives/kdf/__init__.pyÚderive   ó    zKeyDerivationFunction.deriveÚbufferr   ÚNonec                 C  r   )zˆ
        Deterministically generates a new key based on the existing key
        material and stores it in the provided buffer.
        Nr	   )r
   r   r   r	   r	   r   Úderive_into   r   z!KeyDerivationFunction.derive_intoÚexpected_keyc                 C  r   )zš
        Checks whether the key generated by the key material matches the
        expected derived key. Raises an exception if they do not match.
        Nr	   )r
   r   r   r	   r	   r   Úverify   r   zKeyDerivationFunction.verifyN)r   r   r   r   )r   r   r   r   r   r   )r   r   r   r   r   r   )Ú__name__Ú
__module__Ú__qualname__ÚabcÚabstractmethodr   r   r   r	   r	   r	   r   r      s    r   )Ú	metaclass)Ú
__future__r   r   Úcryptography.utilsr   ÚABCMetar   r	   r	   r	   r   Ú<module>   s   