
    Wwg                    l    d dl mZ d dlmZ d dlmZ ej                  Zej                  Z G d d      Zy)    )annotations)asn1)hashesc                  &    e Zd ZddZedd       Zy)	Prehashedc                ~    t        |t        j                        st        d      || _        |j
                  | _        y )Nz#Expected instance of HashAlgorithm.)
isinstancer   HashAlgorithm	TypeError
_algorithmdigest_size_digest_size)self	algorithms     f/var/www/horilla/myenv/lib/python3.12/site-packages/cryptography/hazmat/primitives/asymmetric/utils.py__init__zPrehashed.__init__   s3    )V%9%9:ABB#%11    c                    | j                   S )N)r   )r   s    r   r   zPrehashed.digest_size   s       r   N)r   zhashes.HashAlgorithm)returnint)__name__
__module____qualname__r   propertyr    r   r   r   r      s    2 ! !r   r   N)	
__future__r   "cryptography.hazmat.bindings._rustr   cryptography.hazmat.primitivesr   decode_dss_signatureencode_dss_signaturer   r   r   r   <module>r!      s2   
 # 3 100 00 
! 
!r   