]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost3410.pyi
Shorter private key variable name
[pygost.git] / pygost / stubs / pygost / gost3410.pyi
index 84028df4b85912fbc0b3fd4424ab63b49905e490..85128c3dc37361ad55d78a35cfd80acbec35dc5e 100644 (file)
@@ -21,15 +21,10 @@ class GOST3410Curve(object):
     def exp(self, degree: int, x: int=..., y: int=...) -> int: ...
 
 
-def public_key(curve: GOST3410Curve, private_key: int) -> PublicKey: ...
+def public_key(curve: GOST3410Curve, prv: int) -> PublicKey: ...
 
 
-def sign(
-    curve: GOST3410Curve,
-    private_key: int,
-    digest: bytes,
-    size: int=...,
-) -> bytes: ...
+def sign(curve: GOST3410Curve, prv: int, digest: bytes, size: int=...) -> bytes: ...
 
 
 def verify(
@@ -41,7 +36,7 @@ def verify(
 ) -> bool: ...
 
 
-def prv_unmarshal(private_key: bytes) -> int: ...
+def prv_unmarshal(prv: bytes) -> int: ...
 
 
 def pub_marshal(pub: PublicKey, mode: int) -> bytes: ...