X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=pygost%2Fstubs%2Fpygost%2Fgost3410.pyi;h=ee0e9b6de227720e3dbd784e47bf726ef3aac1b0;hb=f3a3246bc9da027e0527b89204e1b95ed52af5c6;hp=66494455102d91c4fad69c1f773d451f72ef29a3;hpb=82af8726ef5d5e2752089a45750e56c9910398c7;p=pygost.git diff --git a/pygost/stubs/pygost/gost3410.pyi b/pygost/stubs/pygost/gost3410.pyi index 6649445..ee0e9b6 100644 --- a/pygost/stubs/pygost/gost3410.pyi +++ b/pygost/stubs/pygost/gost3410.pyi @@ -4,7 +4,6 @@ from typing import Tuple DEFAULT_CURVE = ... # type: GOST3410Curve CURVES = ... # type: Dict[str, GOST3410Curve] -MODE2SIZE = ... # type: Dict[int, int] PublicKey = Tuple[int, int] @@ -38,6 +37,11 @@ class GOST3410Curve(object): def st(self) -> Tuple[int, int]: ... + @property + def point_size(self) -> int: ... + + def contains(self, point: Tuple[int, int]) -> bool: ... + def public_key(curve: GOST3410Curve, prv: int) -> PublicKey: ...