관리-도구
편집 파일: concatkdf.cpython-311.pyc
� �܋f� � � � d dl mZ d dlZd dlmZ d dlmZmZ d dlm Z m Z mZ d dlm Z dd�Zdd�Zdd�Z G d� de � � Z G d� de � � ZdS )� )�annotationsN)�utils)�AlreadyFinalized� InvalidKey)� constant_time�hashes�hmac)�KeyDerivationFunction�n�int�return�bytesc �0 � | � dd�� � S )N� �big)�length� byteorder)�to_bytes)r s �/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/cryptography/hazmat/primitives/kdf/concatkdf.py� _int_to_u32ber s � ��:�:�Q�%�:�0�0�0� � algorithm�hashes.HashAlgorithmr � otherinfo�typing.Optional[bytes]�Nonec �~ � | j dz }||k rt d|� d�� � �|�t j d|� � d S d S )Nl �� zCannot derive keys larger than z bits.r )�digest_size� ValueErrorr �_check_bytes)r r r � max_lengths r �_common_args_checksr"