]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost3410.pyi
Add GOST3410Curve.point_size property stub
[pygost.git] / pygost / stubs / pygost / gost3410.pyi
index 66494455102d91c4fad69c1f773d451f72ef29a3..7f55fa9c2b9ba0fd83b1260ff516bd7e9ee89840 100644 (file)
@@ -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,9 @@ class GOST3410Curve(object):
 
     def st(self) -> Tuple[int, int]: ...
 
+    @property
+    def point_size(self) -> int: ...
+
 
 def public_key(curve: GOST3410Curve, prv: int) -> PublicKey: ...