File: //lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/__pycache__/base.cpython-312.pyc
�
�)%a� � �r � d dl Z d dlZd dlmZ d dlmZmZmZmZm Z d dl
mZ d dlm
Z
d dlmZ d dlmZ G d� d e j$ �
� Z G d� de j$ �
� Z G d
� de j$ �
� Z G d� de j$ �
� Z G d� de j$ �
� Z G d� de� Z ej4 e� G d� de� � Z ej4 e� ej4 e� ej4 e� G d� de� � � � Z ej4 e� G d� de� � Zy)� N)�utils)�AlreadyFinalized�AlreadyUpdated�NotYetFinalized�UnsupportedAlgorithm�_Reasons)�_get_backend)�
CipherBackend)�CipherAlgorithm)�modesc �6 � e Zd Zej defd�� Zy)�BlockCipherAlgorithm�returnc � � y)zK
The size of a block as an integer in bits (e.g. 64, 128).
N� ��selfs �M/usr/lib/python3/dist-packages/cryptography/hazmat/primitives/ciphers/base.py�
block_sizezBlockCipherAlgorithm.block_size � � � N)�__name__�
__module__�__qualname__�abc�abstractproperty�intr r r r r r s! � �����C� � �r r )� metaclassc � � e Zd Zej dedefd�� Zej dedefd�� Zej defd�� Z y)�
CipherContext�datar c � � y)zk
Processes the provided bytes through the cipher and returns the results
as bytes.
Nr �r r! s r �updatezCipherContext.update r r c � � y)z�
Processes the provided bytes and writes the resulting data into the
provided buffer. Returns the number of bytes written.
Nr �r r! �bufs r �update_intozCipherContext.update_into'