https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/openssl/cmac.pyc
�
x�\c@`s�ddlmZmZmZddlmZddlmZmZm	Z	ddl
mZmZddl
mZejej�defd��Y�ZdS(	i(tabsolute_importtdivisiontprint_function(tutils(tInvalidSignaturetUnsupportedAlgorithmt_Reasons(t
constant_timetmac(tCBCt_CMACContextcB`sGeZdd�Zejd�Zd�Zd�Zd�Z	d�Z
RS(c	C`sX|j|�s$tdtj��n||_|j|_||_|jd|_	|dkrK|jj}|t|�t
f}||j|t
�}|jjj�}|jj||jjjk�|jjj||jjj�}|jjj|j�}|jjj||t|j�||jjj�}|jj|dk�n||_dS(Ns#This backend does not support CMAC.ii(tcmac_algorithm_supportedRRtUNSUPPORTED_CIPHERt_backendtkeyt_keyt
_algorithmt
block_sizet_output_lengthtNonet_cipher_registryttypeR	t_libtCMAC_CTX_newtopenssl_assertt_ffitNULLtgct
CMAC_CTX_freetfrom_buffert	CMAC_Inittlent_ctx(	tselftbackendt	algorithmtctxtregistrytadaptert
evp_ciphertkey_ptrtres((sQ/tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/backends/openssl/cmac.pyt__init__s(		!RcC`s>|jjj|j|t|��}|jj|dk�dS(Ni(R
RtCMAC_UpdateR RR(R!tdataR)((sQ/tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/backends/openssl/cmac.pytupdate2s$cC`s�|jjjd|j�}|jjjd|j�}|jjj|j||�}|jj|dk�d|_|jjj	|�S(Nsunsigned char[]ssize_t *i(
R
RtnewRRt
CMAC_FinalR RRtbuffer(R!tbuftlengthR)((sQ/tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/backends/openssl/cmac.pytfinalize6s	cC`s}|jjj�}|jjj||jjj�}|jjj||j�}|jj|dk�t	|j|j
d|�S(NiR$(R
RRRRRt
CMAC_CTX_copyR RR
R(R!t
copied_ctxR)((sQ/tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/backends/openssl/cmac.pytcopyBscC`s1|j�}tj||�s-td��ndS(NsSignature did not match digest.(R3Rtbytes_eqR(R!t	signaturetdigest((sQ/tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/backends/openssl/cmac.pytverifyOsN(t__name__t
__module__RR*Rtread_only_propertyR#R-R3R6R:(((sQ/tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/backends/openssl/cmac.pyR
s			
N(t
__future__RRRtcryptographyRtcryptography.exceptionsRRRtcryptography.hazmat.primitivesRRt,cryptography.hazmat.primitives.ciphers.modesR	tregister_interfacet
MACContexttobjectR
(((sQ/tmp/pip-install-A1qMVe/cryptography/cryptography/hazmat/backends/openssl/cmac.pyt<module>s

https://t.me/AnonymousX5 - 2025