1 from typing import Dict
2 from typing import Tuple
5 CURVE_PARAMS = ... # type: Dict[str, Tuple[bytes, bytes, bytes, bytes, bytes, bytes]]
8 class GOST3410Curve(object):
17 self, p: bytes, q: bytes, a: bytes, b: bytes, x: bytes, y: bytes
20 def exp(self, degree: int, x: int=..., y: int=...) -> int: ...
23 PublicKey = Tuple[int, int]
26 def public_key(curve: GOST3410Curve, private_key: int) -> PublicKey: ...