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