X-Git-Url: http://www.git.cypherpunks.ru/?p=pygost.git;a=blobdiff_plain;f=pygost%2Fstubs%2Fpygost%2Fgost3410.pyi;h=afab2659e665c19d430c88b6869674f5f2e8a97c;hp=f2071cc4f3040813443b00902fb809ed0b34b7ae;hb=39eec912f1876d3437889c5ef9187687460ebda8;hpb=c8b2d178e5315f14a31ef82454b3ce36bd4e7f7d 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(