]> Cypherpunks.ru repositories - pygost.git/blob - pygost/stubs/pygost/kdf.pyi
Remove excess mode kwargs from gost3410* functions
[pygost.git] / pygost / stubs / pygost / kdf.pyi
1 from typing import Sequence
2
3 from pygost.gost3410 import GOST3410Curve
4
5
6 PublicKey = Tuple[int, int]
7
8
9 def kdf_gostr3411_2012_256(key: bytes, label: bytes, seed: bytes) -> bytes: ...
10
11
12 def kdf_tree_gostr3411_2012_256(
13         key: bytes,
14         label: bytes,
15         seed: bytes,
16         keys: int,
17         i_len=1,
18 ) -> Sequence[bytes]: ...
19
20
21 def keg(curve: GOST3410Curve, prv: int, pub: PublicKey, h: bytes) -> bytes: ...