| 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/Cipher/__pycache__/ |
Upload File : |
�
8�tc�S � �, � d Z dgZddlmZ ddlmZmZ ddlmZ ddl m
Z
mZ ddlm
Z
ddlmZ dd lmZmZmZmZmZmZmZ dd
lmZ dZd� Zd
� Z e� � Zd� Z e� � Z G d� de� � Z d� Z! e!dd�� � Z" G d� de� � Z#d� Z$dS )z
Galois/Counter Mode (GCM).
�GcmMode� )� unhexlify)�bord�_copy_bytes)� is_buffer)�
long_to_bytes�
bytes_to_long)�BLAKE2s)�get_random_bytes)�load_pycryptodome_raw_lib�VoidPointer�create_string_buffer�get_raw_buffer�SmartPointer�c_size_t�c_uint8_ptr)�
_cpu_featuresa`
int ghash_%imp%(uint8_t y_out[16],
const uint8_t block_data[],
size_t len,
const uint8_t y_in[16],
const void *exp_key);
int ghash_expand_%imp%(const uint8_t h[16],
void **ghash_tables);
int ghash_destroy_%imp%(void *ghash_tables);
c �� � �� ddl m} d} |d|� � } � �fd�|D � � }n# t $ r d gdz }Y nw xY wt t ||� � � � } |di |��S )Nr )�
namedtuple)�ghash�ghash_expand�
ghash_destroy�
_GHash_Impc �<