|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /lib64/python3.9/site-packages/cryptography/hazmat/primitives/__pycache__/ |
a
�a� � @ s4 d dl mZ d dlmZmZmZ G dd� de�ZdS )� )�utils)�AlreadyFinalized�UnsupportedAlgorithm�_Reasonsc @ sv e Zd Zed�dd�Zedd�dd�Zed�d d
�Zedd�dd
�Zeeeed�dd��Z eeeedd�dd��Z
dS )�Poly1305)�keyc C s0 ddl m} |�� s tdtj��|�|�| _d S )Nr )�backendz5poly1305 is not supported by this version of OpenSSL.)Z,cryptography.hazmat.backends.openssl.backendr Zpoly1305_supportedr r ZUNSUPPORTED_MACZcreate_poly1305_ctx�_ctx)�selfr r � r �M/usr/lib64/python3.9/site-packages/cryptography/hazmat/primitives/poly1305.py�__init__ s �zPoly1305.__init__N)�data�returnc C s. | j d u rtd��t�d|� | j �|� d S )N�Context was already finalized.r )r r r Z_check_byteslike�update)r
r r r r r s
zPoly1305.update)r c C s&