+
    ^eòjû  ã                   ój   € ^ RI HtHtHtHtHtHtHt ^ RIH	t	 ^ RI
Ht ^RIHt  ! R R]4      tR tR# )	é    )ÚVoidPointerÚSmartPointerÚcreate_string_bufferÚget_raw_bufferÚc_size_tÚc_uint8_ptrÚc_ubyte)Úlong_to_bytes)Úbchr)Ú_raw_keccak_libc                   óF   a € ] tR t^t o RtR tR tR tR	R ltR t	Rt
V tR# )
Ú
TurboSHAKEzUA TurboSHAKE hash object.
Do not instantiate directly.
Use the :func:`new` function.
c                ót  € \        4       p\        P                  ! VP                  4       \	        V4      \        ^4      4      pV'       d   \        RV,          4      h\        VP                  4       \        P                  4      V n
        RV n        Wn        W n        V'       d   V P                  V4       R# R# )é   z'Error %d while instantiating TurboSHAKEFN)r   r   Úkeccak_initÚ
address_ofr   r	   Ú
ValueErrorr   ÚgetÚkeccak_destroyÚ_stateÚ_is_squeezingÚ	_capacityÚ_domainÚupdate)ÚselfÚcapacityÚdomain_separationÚdataÚstateÚresults   &&&&  Ú�/opt/data/installs/351f81cc06284494/environments/aa258815729c481f8402f54f4c368f83/venv/lib/python3.14/site-packages/Crypto/Hash/TurboSHAKE128.pyÚ__init__ÚTurboSHAKE.__init__   s�   € ä“ˆÜ ×,Ò,¨U×-=Ñ-=Ó-?Ü-5°hÓ-?Ü-4°R«[ó:ˆ÷ ÜÐFØ%õ&ó 'ð 'ä" 5§9¡9£;´×0NÑ0NÓOˆŒà"ˆÔØ!ŒØ(ŒçØ�K‰K˜Öñ ó    c           	     ó
  € V P                   '       d   \        R4      h\        P                  ! V P                  P                  4       \        V4      \        \        V4      4      4      pV'       d   \        RV,          4      hV # )z¤Continue hashing of a message by consuming the next chunk of data.

Args:
    data (byte string/byte array/memoryview): The next chunk of the message being hashed.
z/You cannot call 'update' after the first 'read'z(Error %d while updating TurboSHAKE state)
r   Ú	TypeErrorr   Úkeccak_absorbr   r   r   r   Úlenr   )r   r   r    s   && r!   r   ÚTurboSHAKE.update%   sp   € ð ××ÐÜÐMÓNÐNä ×.Ò.¨t¯{©{¯©Ó/@Ü/:¸4Ó/@Ü/7¼¸D»	Ó/BóDˆ÷ ÜÐGØ%õ&ó 'ð 'àˆr$   c                ó
  € RV n         \        V4      p\        P                  ! V P                  P                  4       V\        V4      \        V P                  4      4      pV'       d   \        RV,          4      h\        V4      # )a   
Compute the next piece of XOF output.

.. note::
    You cannot use :meth:`update` anymore after the first call to
    :meth:`read`.

Args:
    length (integer): the amount of bytes this method must return

:return: the next piece of XOF output (of the given length)
:rtype: byte string
Tz)Error %d while extracting from TurboSHAKE)r   r   r   Úkeccak_squeezer   r   r   r	   r   r   r   )r   ÚlengthÚbfrr    s   &&  r!   ÚreadÚTurboSHAKE.read7   su   € ð "ˆÔÜ" 6Ó*ˆÜ ×/Ò/°·±·±Ó0AØ03Ü08¸Ó0@Ü07¸¿¹Ó0EóGˆ÷ ÜÐHØ%õ&ó 'ð 'ô ˜cÓ"Ð"r$   Nc                óP   € \        V 4      ! V P                  V P                  V4      # ©N)Útyper   r   )r   r   s   &&r!   ÚnewÚTurboSHAKE.newR   s   € Ü�DŒz˜$Ÿ.™.¨$¯,©,¸Ó=Ð=r$   c                ó¤   € \         P                  ! V P                  P                  4       4      pV'       d   \	        R V,          4      hRV n        R# )z)Error %d while resetting TurboSHAKE stateFN)r   Úkeccak_resetr   r   r   r   )r   r    s   & r!   Ú_resetÚTurboSHAKE._resetU   s@   € Ü ×-Ò-¨d¯k©k¯o©oÓ.?Ó@ˆßÜÐHØ%õ&ó 'ð 'à"ˆÖr$   )r   r   r   r   r1   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r"   r   r.   r3   r7   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r!   r   r      s(   ø‡ € ñò
ò&ò$#ô6>÷#ð #r$   r   c                 ó¨   € V P                  R^4      p^Tu;8:  d   ^8:  g   M \        RV,          4      hV P                  R4      p\        ^ WR7      # )ab  Create a new TurboSHAKE128 object.

Args:
   domain (integer):
     Optional - A domain separation byte, between 0x01 and 0x7F.
     The default value is 0x1F.
   data (bytes/bytearray/memoryview):
    Optional - The very first chunk of the message to hash.
    It is equivalent to an early call to :meth:`update`.

:Return: A :class:`TurboSHAKE` object
Údomainz&Incorrect domain separation value (%d)r   )r   )r   r   r   )Úkwargsr   r   s   ,  r!   r3   r3   ]   sW   € ð Ÿ
™
 8¨TÓ2ÐØÐ%Ö-¨Ö-ÜÐAØ*õ+ó ,ð 	,à�:‰:�fÓ€DÜ�bÐ+Ô7Ð7r$   N)ÚCrypto.Util._raw_apir   r   r   r   r   r   r	   ÚCrypto.Util.numberr
   ÚCrypto.Util.py3compatr   Úkeccakr   Úobjectr   r3   © r$   r!   Ú<module>rJ      s3   ð÷8÷ 8ñ 8õ
 -Ý &å #ôN#�ô N#ôb8r$   