📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: Apache
2026-06-22 12:13:09
📂
/ (Root)
/
lib64
/
python3.6
/
site-packages
/
cryptography
/
hazmat
/
backends
/
openssl
/
__pycache__
📍 /lib64/python3.6/site-packages/cryptography/hazmat/backends/openssl/__pycache__
🔄 Refresh
✏️
Editing: hmac.cpython-36.pyc
Read Only
3 ꅭh� � @ st d dl mZmZmZ d dlmZ d dlmZmZm Z d dl mZmZm Z eje j�ejej�G dd� de���ZdS )� )�absolute_import�division�print_function)�utils)�InvalidSignature�UnsupportedAlgorithm�_Reasons)� constant_time�hashes�macc @ s@ e Zd Zd dd�Zejd�Zdd� Zdd� Zd d � Z dd� Z dS )�_HMACContextNc C s� || _ || _|d kr�| jjj� }| jj|| jjjk� | jjj|| jjj�}| jj |�}|| jjjkrzt dj|j�t j��| jjj|�}| jjj||t|�|| jjj�}| jj|dk� || _|| _d S )Nz*{} is not a supported hash on this backendr )� _algorithm�_backend�_lib�Cryptography_HMAC_CTX_new�openssl_assert�_ffi�NULL�gc�Cryptography_HMAC_CTX_freeZ_evp_md_from_algorithmr �format�namer ZUNSUPPORTED_HASH�from_bufferZHMAC_Init_ex�len�_ctx�_key)�selfZbackend�key� algorithm�ctxZevp_mdZkey_ptr�res� r! �/usr/lib64/python3.6/hmac.py�__init__ s&