]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost3410_vko.pyi
Remove excess mode kwargs from gost3410* functions
[pygost.git] / pygost / stubs / pygost / gost3410_vko.pyi
index 33627930fe18d2d2dad8e7f6136df0c6f7640da0..c6d35e5a0d19c7520e04251dad975af6b28acf3a 100644 (file)
@@ -2,25 +2,13 @@ from pygost.gost3410 import GOST3410Curve
 from pygost.gost3410 import PublicKey
 
 
-def vko_34102001(
-    curve: GOST3410Curve,
-    private_key: int ,
-    pubkey: PublicKey,
-    ukm: bytes,
-) -> bytes: ...
-
-
-def vko_34102012256(
-    curve: GOST3410Curve,
-    private_key: int,
-    pubkey: PublicKey,
-    ukm=...: bytes,
-) -> bytes: ...
-
-
-def vko_34102012512(
-    curve: GOST3410Curve,
-    private_key: int,
-    pubkey: PublicKey,
-    ukm=...: bytes,
-) -> bytes: ...
+def ukm_unmarshal(ukm: bytes) -> int: ...
+
+
+def kek_34102001(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int) -> bytes: ...
+
+
+def kek_34102012256(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int=...) -> bytes: ...
+
+
+def kek_34102012512(curve: GOST3410Curve, prv: int, pub: PublicKey, ukm: int=...) -> bytes: ...