}oh d dl mZmZmZ d dlZd dlmZmZmZ d dl m
Z
d dlmZ G d d Zd Z
d Zd
Zd ZdS ) )bchrbord
iter_rangeN)ceil_div
long_to_bytes
bytes_to_long)strxor)Randomc * e Zd ZdZd Zd Zd Zd ZdS )
PSS_SigSchemezvA signature object for ``RSASSA-PSS``.
Do not instantiate directly.
Use :func:`Crypto.Signature.pss.new`.
c > || _ || _ || _ || _ dS )at Initialize this PKCS#1 PSS signature scheme object.
:Parameters:
key : an RSA key object
If a private half is given, both signature and
verification are possible.
If a public half is given, only verification is possible.
mgfunc : callable
A mask generation function that accepts two parameters:
a string to use as seed, and the lenth of the mask to
generate, in bytes.
saltLen : integer
Length of the salt, in bytes.
randfunc : callable
A function that returns random bytes.
N)_key_saltLen_mgfunc _randfunc)selfkeymgfuncsaltLenrandfuncs v/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib64/python3.11/site-packages/Crypto/Signature/pss.py__init__zPSS_SigScheme.__init__/ s$ $
! c 4 | j S )z