|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/__pycache__/ |
Upload File : |
o
�)%a� � @ sB d dl Z d dlZd dlmZ d dlmZmZmZmZm Z d dl
mZ d dlm
Z
d dlmZ d dlmZ G dd � d e jd
�ZG dd� de jd
�ZG d
d� de jd
�ZG dd� de jd
�ZG dd� de jd
�ZG dd� de�Ze�e�G dd� de��Ze�e�e�e�e�e�G dd� de����Ze�e�G dd� de��ZdS )� N)�utils)�AlreadyFinalized�AlreadyUpdated�NotYetFinalized�UnsupportedAlgorithm�_Reasons)�_get_backend)�
CipherBackend)�CipherAlgorithm)�modesc @ � e Zd Zejdefdd��ZdS )�BlockCipherAlgorithm�returnc C � dS )zK
The size of a block as an integer in bits (e.g. 64, 128).
N� ��selfr r �M/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py�
block_size � zBlockCipherAlgorithm.block_sizeN)�__name__�
__module__�__qualname__�abc�abstractproperty�intr r r r r r
� r
)� metaclassc @ sP e Zd Zejdedefdd��Zejdedefdd��Zejdefdd��Z d S )
�
CipherContext�datar c C r )zk
Processes the provided bytes through the cipher and returns the results
as bytes.
Nr �r r r r r �update r zCipherContext.updatec C r )z�
Processes the provided bytes and writes the resulting data into the
provided buffer. Returns the number of bytes written.
Nr �r r �bufr r r �update_into'