X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pygost%2Fstubs%2Fpygost%2Fgost3410.pyi;h=afab2659e665c19d430c88b6869674f5f2e8a97c;hb=39eec912f1876d3437889c5ef9187687460ebda8;hp=f2071cc4f3040813443b00902fb809ed0b34b7ae;hpb=312c6b813adbf8a04253e3b1da28e02780c61d07;p=pygost.git diff --git a/pygost/stubs/pygost/gost3410.pyi b/pygost/stubs/pygost/gost3410.pyi index f2071cc..afab265 100644 --- a/pygost/stubs/pygost/gost3410.pyi +++ b/pygost/stubs/pygost/gost3410.pyi @@ -40,7 +40,13 @@ class GOST3410Curve(object): def public_key(curve: GOST3410Curve, prv: int) -> PublicKey: ... -def sign(curve: GOST3410Curve, prv: int, digest: bytes, mode: int=...) -> bytes: ... +def sign( + curve: GOST3410Curve, + prv: int, + digest: bytes, + rand: bytes=None, + mode: int=..., +) -> bytes: ... def verify(