]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost3410.pyi
Use curve's cofactor during VKO calculations
[pygost.git] / pygost / stubs / pygost / gost3410.pyi
index afab2659e665c19d430c88b6869674f5f2e8a97c..4be8b1d63ecd13653a46cfac7271f56a342483f3 100644 (file)
@@ -15,6 +15,7 @@ class GOST3410Curve(object):
     b = ...  # type: int
     x = ...  # type: int
     y = ...  # type: int
+    cofactor = ...  # type: int
     e = ...  # type: int
     d = ...  # type: int
 
@@ -26,6 +27,7 @@ class GOST3410Curve(object):
             b: int,
             x: int,
             y: int,
+            cofactor: int = 1,
             e: int = None,
             d: int = None,
     ) -> None: ...