+
    '(jA                     R    ^ RI HtHtHtHtHtHt ]! RR4      tRR ltRR lt	R t
R# )	    )load_pycryptodome_raw_libc_size_tcreate_string_bufferget_raw_bufferc_uint8_ptris_writeable_bufferzCrypto.Util._strxoray  
                    void strxor(const uint8_t *in1,
                                const uint8_t *in2,
                                uint8_t *out, size_t len);
                    void strxor_c(const uint8_t *in,
                                  uint8_t c,
                                  uint8_t *out,
                                  size_t len);
                    Nc           
        \        V 4      \        V4      8w  d   \        R4      hVf   \        \        V 4      4      pMRTp\        V4      '       g   \	        R4      h\        V 4      \        V4      8w  d   \        R\        V 4      ,          4      h\
        P                  \        V 4      \        V4      \        V4      \        \        V 4      4      4       Vf   \        V4      # R# )a^  From two byte strings of equal length,
create a third one which is the byte-by-byte XOR of the two.

Args:
  term1 (bytes/bytearray/memoryview):
    The first byte string to XOR.
  term2 (bytes/bytearray/memoryview):
    The second byte string to XOR.
  output (bytearray/memoryview):
    The location where the result will be written to.
    It must have the same length as ``term1`` and ``term2``.
    If ``None``, the result is returned.
:Return:
    If ``output`` is ``None``, a new byte string with the result.
    Otherwise ``None``.

.. note::
    ``term1`` and ``term2`` must have the same length.
z.Only byte strings of equal length can be xoredN4output must be a bytearray or a writeable memoryview9output must have the same length as the input  (%d bytes))
len
ValueErrorr   r   	TypeError_raw_strxorstrxorr   r   r   )term1term2outputresults   &&& G/home/ubuntu/cf-venv/lib/python3.14/site-packages/Crypto/Util/strxor.pyr   r   0   s    * 5zSZIJJ~%c%j1 "6**RSSu:V$ ,.1%j9 : : {5)"5)"6*E
+-
 ~f%%    c           
        ^ Tu;8:  d   R8  g   M \        R4      hVf   \        \        V 4      4      pMRTp\        V4      '       g   \	        R4      h\        V 4      \        V4      8w  d   \        R\        V 4      ,          4      h\
        P                  \        V 4      V\        V4      \        \        V 4      4      4       Vf   \        V4      # R# )aB  From a byte string, create a second one of equal length
where each byte is XOR-red with the same value.

Args:
  term(bytes/bytearray/memoryview):
    The byte string to XOR.
  c (int):
    Every byte in the string will be XOR-ed with this value.
    It must be between 0 and 255 (included).
  output (None or bytearray/memoryview):
    The location where the result will be written to.
    It must have the same length as ``term``.
    If ``None``, the result is returned.

Return:
    If ``output`` is ``None``, a new ``bytes`` string with the result.
    Otherwise ``None``.
   zc must be in range(256)Nr
   r   )
r   r   r   r   r   r   strxor_cr   r   r   )termcr   r   s   &&& r   r   r   `   s    ( <C<233~%c$i0 "6**RSSt9F# ,.1$i8 9 9 T*$V,!#d), ~f%%r   c           
     X    \         P                  WV\        \        V 4      4      4       R# )z!Very fast XOR - check conditions!N)r   r   r   r   )r   r   r   s   &&&r   _strxor_directr      s    uVXc%j-ABr   )N)Crypto.Util._raw_apir   r   r   r   r   r   r   r   r   r    r   r   <module>r       s7   >D D ()
-`-`Cr   