403Webshell
Server IP : 37.9.174.138  /  Your IP : 216.73.216.117
Web Server : Apache
System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
User : ftpuser ( 1001)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/Cryptodome/SelfTest/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/Cryptodome/SelfTest/__pycache__/loader.cpython-313.pyc
�

C��fw���SSKrSSKrSSKrSSKrSSKrSSKrSSKJr SSKJr SSK	r	Sr
SrSr
0004Sjrg!\a Sr
Nf=f)	�N)�	unhexlify)�FileNotFoundErrorTFc��Sn/n"SS[5nSnSnSn	US-
nUR5n
U
(dUbURU5 U$U
R5n
U
R	S5(dU
(dSn	MeU
R	S5(a)UbURU5 SnURU
5 M�U	(a(US-
nS	n	UbURU5 U"S
X(4-U5n[
R"SU
5nU(dU=RU
/-
slO�URS5R5nURS5R5n
URUS5nUc8[U
5S-S:waS
U
-n
[X|[R"U
55 O[X|U"U
55 GM�)z�Load and parse a test vector file

Return a list of objects, one per group of adjacent
KV lines or for a single line in the form "[.*]".

For a group of lines, the object has one attribute per line.
rc��\rSrSrSrSrg)�_load_tests.<locals>.TestVector�<c�*�XlX l/Ulg)N)�desc�count�others)�self�descriptionrs   �</usr/lib/python3/dist-packages/Cryptodome/SelfTest/loader.py�__init__�(_load_tests.<locals>.TestVector.__init__=s��#�I��J��D�K�)rr
rN)�__name__�
__module__�__qualname__�__firstlineno__r�__static_attributes__�rr�
TestVectorr<s��	rrNT��#�[Fz%s (#%d)z([A-Za-z0-9]+) = ?(.*)��0)�object�readline�append�strip�
startswith�re�matchr�group�lower�get�len�setattr�binasciir)�	dir_comps�file_inr�conversions�line_number�resultsr�test_vectorr�	new_group�line�res�token�data�
conversions               r�_load_testsr80s����K��G��V���K�
�E��I�
��q������!����&����{�+��L�N�K�z�z�|���?�?�3���t��I���?�?�3����&����{�+��K��N�N�4� ����Q�J�E��I��&����{�+�$�Z�;�2F�%F��N�K��h�h�/��6������4�&�(���I�I�a�L�&�&�(�E��9�9�Q�<�%�%�'�D�$�����5�J��!��t�9�q�=�A�%���:�D���H�,>�,>�t�,D�E���J�t�,<�=�Src�H�Sn[(d=[[R[R
"[R5U5eU<SU<S3n[RR[R5n[RR[RR"U/UQ76U5n[U5n[XX#5nSSS5 U$!,(df   U$=f![a! [R"SU-[SS9 U$f=f)a>Load and parse a test vector file, formatted using the NIST style.

Args:
    dir_comps (list of strings):
      The path components under the ``pycryptodome_test_vectors`` package.
      For instance ``("Cipher", "AES")``.
    file_name (string):
      The name of the file with the test vectors.
    description (string):
      A description applicable to the test vectors in the file.
    conversions (dictionary):
      The dictionary contains functions.
      Values in the file that have an entry in this dictionary
      will be converted usign the matching function.
      Otherwise, values will be considered as hexadecimal and
      converted to binary.

Returns:
    A list of test vector objects.

The file is formatted in the following way:

- Lines starting with "#" are comments and will be ignored.
- Each test vector is a sequence of 1 or more adjacent lines, where
  each lines is an assignement.
- Test vectors are separated by an empty line, a comment, or
  a line starting with "[".

A test vector object has the following attributes:

- desc (string): description
- counter (int): the order of the test vector in the file (from 1)
- others (list): zero or more lines of the test vector that were not assignments
- left-hand side of each assignment (lowercase): the value of the
  assignement, either converted or bytes.
Nz test (�)�%Warning: skipping extended tests for r��
stacklevel)�test_vectors_availabler�errno�ENOENT�os�strerror�path�dirname�pycryptodome_test_vectors�__file__�join�openr8�warnings�warn�UserWarning)r,�	file_namerr.r0�init_dir�full_file_namer-s        r�load_test_vectorsrOus���L�G�$�%�%�#�E�L�L�$&�K�K����$=�$-�/�
/�)4�Y�?���7�7�?�?�#<�#E�#E�F�������b�g�g�l�l�8�&H�i�&H�)�T��
�.�
!�W�!�)�k�O�G�"��N�"�
!��N���$��
�
�=��K�!�!"�	$��N�$�s0�C	C6�

C$�C6�$
C3�.C6�3C6�6'D!� D!c��/n[(d=[[R[R
"[R5U5e[RR[R5n[RR[RR"U/UQ76U5n[U5n	[R"U	5n
SSS5 "SS["5n0nUR%5Hup�U"W
5X�'M W
SGH)n0nUR%5Hup�U"U5UU
'M USH�nU"5nUR%5Hup�['UX�5 M UR%5Hup�['UX�5 M USUlUS	UlS
H$nUU;dM['UU[-UU55 M& UUlUR%5Hup�['UX�"U55 M USS:gUlUSS
:HUlUUlUR5U5 M� GM, U$!,(df   GNx=f![a" [R"SU-[ SS9 Us$f=f)Nr;rr<c��\rSrSrSrg)�0load_test_vectors_wycheproof.<locals>.TestVector��rN)rrrrrrrrrrR�s��rr�
testGroups�tests�tcId�comment)�key�iv�aad�msg�ct�tag�label�ikm�salt�info�okm�sig�public�shared�result�invalid�
acceptable)r>rr?r@rArBrCrDrErFrGrH�json�loadrIrJrKr�itemsr*�idrWr�filename�valid�warningr!)r,rLr�root_tag�	group_tag�unit_tagrfrMrNr-�tv_treer�common_root�k�vr&�common_group�test�tv�attrs                    r�load_test_vectors_wycheproofr{�s:���F��%�%�#�E�L�L�$&�K�K����$=�$-�/�
/��7�7�?�?�#<�#E�#E�F�������b�g�g�l�l�8�&H�i�&H�)�T��
�.�
!�W��i�i��(�G�"�
�V�
��K���� ����7����!���&�����O�O�%�D�A���h�L��O�&��'�N�D���B�#�)�)�+�����A�!�,�$�*�*�,�����A�!�-���L�B�E��i��B�J�P���4�<��B��i��T�
�&;�<�P�$�B�K� ���(�����A�q��w�'�)��H�~��2�B�H��h��<�7�B�J�#�B�K��M�M�"��1#�
'�@�M�a"�
!�����
�
�=��K�!�!"�	$��
�	�s0�B?I�I�I�
I�I�I�)J	�J	)rAr$rir?r+rIr�Cryptodome.Util.py3compatrrEr>�ImportErrorr8rOr{rrr�<module>r~s`��>
�	������7�#�$�!��
B�J:�|+-��R�<��M�#�"��#�s�;�A�A

Youez - 2016 - github.com/yon3zu
LinuXploit