|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/kdf/ |
Upload File : |
�
x�\c @` s d d l m Z m Z m Z d d l Z d d l m Z d d l m Z m Z m
Z
m Z d d l m
Z
d d l m Z d d l m Z m Z m Z d d l m Z d � Z d
� Z d � Z e j e � d e f d
� � Y� Z e j e � d e f d � � Y� Z d S( i ( t absolute_importt divisiont print_functionN( t utils( t AlreadyFinalizedt
InvalidKeyt UnsupportedAlgorithmt _Reasons( t HMACBackend( t HashBackend( t
constant_timet hashest hmac( t KeyDerivationFunctionc C` s t j d | � S( Ns >I( t structt pack( t n( ( sT /tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/primitives/kdf/concatkdf.pyt
_int_to_u32be s c C` sT | j d } | | k r1 t d j | � � � n | d k rP t j d | � n d S( Ni i i s( Can not derive keys larger than {} bits.t otherinfoI I���� ( t digest_sizet
ValueErrort formatt NoneR t _check_bytes( t algorithmt lengthR t
max_length( ( sT /tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/primitives/kdf/concatkdf.pyt _common_args_checks s
c C` s� t j d | � d g } d } d } xw | | k r� | � } | j t | � � | j | � | j | � | j | j � � | t | d � 7} | d 7} q( Wd j | � | S( Nt key_materialt i i i����( R t _check_bytesliket updateR t appendt finalizet lent join( R R t auxfnR t outputt outlent countert h( ( sT /tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/primitives/kdf/concatkdf.pyt _concatkdf_derive"