X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pygost%2Fstubs%2Fpygost%2Fgost3410.pyi;h=3f93d71bb217035277669e92913e955566dfd1de;hb=bff2726a7310b9c919ea3457e86e58f2a9ec95f8;hp=85128c3dc37361ad55d78a35cfd80acbec35dc5e;hpb=5c53e91593183ddac146dfeb629defedebe29a29;p=pygost.git diff --git a/pygost/stubs/pygost/gost3410.pyi b/pygost/stubs/pygost/gost3410.pyi index 85128c3..3f93d71 100644 --- a/pygost/stubs/pygost/gost3410.pyi +++ b/pygost/stubs/pygost/gost3410.pyi @@ -24,7 +24,7 @@ class GOST3410Curve(object): def public_key(curve: GOST3410Curve, prv: int) -> PublicKey: ... -def sign(curve: GOST3410Curve, prv: int, digest: bytes, size: int=...) -> bytes: ... +def sign(curve: GOST3410Curve, prv: int, digest: bytes, mode: int=...) -> bytes: ... def verify( @@ -32,14 +32,14 @@ def verify( pub: PublicKey, digest: bytes, signature: bytes, - size: int=..., + mode: int=..., ) -> bool: ... def prv_unmarshal(prv: bytes) -> int: ... -def pub_marshal(pub: PublicKey, mode: int) -> bytes: ... +def pub_marshal(pub: PublicKey, mode: int=...) -> bytes: ... -def pub_unmarshal(pub: bytes, mode: int) -> PublicKey: ... +def pub_unmarshal(pub: bytes, mode: int=...) -> PublicKey: ...