]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/kdf.pyi
Missing Tuple import
[pygost.git] / pygost / stubs / pygost / kdf.pyi
index 78a82e937b971b80e629aeac91859be4d8cd1bbb..ccab8afdc9c3510968ab0daf87f18c21b25cee72 100644 (file)
@@ -1,4 +1,5 @@
 from typing import Sequence
+from typing import Tuple
 
 from pygost.gost3410 import GOST3410Curve
 
@@ -14,8 +15,8 @@ def kdf_tree_gostr3411_2012_256(
         label: bytes,
         seed: bytes,
         keys: int,
-        i_len=1,
+        i_len: int = 1,
 ) -> Sequence[bytes]: ...
 
 
-def keg(curve: GOST3410Curve, prv: int, pub: PublicKey, h: bytes, mode=2001) -> bytes: ...
+def keg(curve: GOST3410Curve, prv: int, pub: PublicKey, h: bytes) -> bytes: ...