Your IP : 18.118.10.75
o
6��f% � @ s� d dl Zzd dlZW n ey dZdZd dlmZ Y n w ejZe ej
�Zd dlZedd� e
d�D ��Zedd� e
d�D ��ZdZG dd� d�Zdd
d�Zdd
� ZdS )� N)�_compare_digestc c � � | ]}|d A V qdS )�\ N� ��.0�xr r �+/opt/alt/python310/lib64/python3.10/hmac.py� <genexpr> � � r
� c c r )�6 Nr r r r r r
r c @ sd e Zd Z dZdZddd�Zdd� Zd d
� Zedd� �Z d
d� Z
dd� Zdd� Zdd� Z
dd� ZdS )�HMAC�@ )�_hmac�_inner�_outer�
block_size�digest_sizeN� c C s� t |ttf�stdt|�j ��|std��tr=t |ttf�r=z
| � |||� W d S tj
y< | �|||� Y d S w | �|||� d S )Nz,key: expected bytes or bytearray, but got %rz'Missing required parameter 'digestmod'.)�
isinstance�bytes� bytearray� TypeError�type�__name__�_hashopenssl�str� _functype�
_init_hmac�UnsupportedDigestmodError� _init_old��self�key�msg� digestmodr r r �__init__&