| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/Cryptodome/SelfTest/__pycache__/ |
Upload File : |
�
8�tcW � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlmZ d dlmZ d dl Z dZ
n
# e$ r dZ
Y nw xY wd� Zd� Z
i i i fd�ZdS ) � N)� unhexlify)�FileNotFoundErrorTFc �� � d}g } G d� dt � � }d}d}d} |dz
}|� � � }
|
s|�|� |� � �n�|
� � � }
|
� d� � s|
sd} �c|
� d� � r/|�|� |� � d}|� |
� � ��| r/|dz
}d } |�|� |� � |d
||fz |� � }t j d|
� � }|s|xj |
gz
c_ n�|� d� � � � � }|� d� � � � � }
|�
|d� � }|�?t |
� � dz dk rd
|
z }
t ||t j |
� � � � nt || ||
� � � � ���|S )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.
r c � � e Zd Zd� ZdS )�_load_tests.<locals>.TestVectorc �0 � || _ || _ g | _ d S )N)�desc�count�others)�self�descriptionr
s �</usr/lib/python3/dist-packages/Cryptodome/SelfTest/loader.py�__init__z(_load_tests.<locals>.TestVector.__init__= s � �#�D�I��D�J��D�K�K�K� N)�__name__�
__module__�__qualname__r � r r �
TestVectorr <