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(
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: ...