]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost28147.pyi
Completely get rid of addmod
[pygost.git] / pygost / stubs / pygost / gost28147.pyi
index 1c0986f73bbf7343249e70a68fef2e66f83d5749..0c513e0a4e7e3d3c4fe77b2b8e728d247a65409a 100644 (file)
@@ -16,9 +16,6 @@ def block2ns(data: bytes) -> Words: ...
 def ns2block(ns: Words) -> bytes: ...
 
 
-def addmod(x: int, y: int, mod: int=...) -> int: ...
-
-
 def validate_key(key: bytes) -> None: ...
 
 
@@ -65,6 +62,7 @@ def cbc_encrypt(
     iv: bytes=...,
     pad: bool=...,
     sbox: str=...,
+    mesh: bool=...,
 ) -> bytes: ...
 
 
@@ -73,6 +71,7 @@ def cbc_decrypt(
     data: bytes,
     pad: bool=...,
     sbox: str=...,
+    mesh: bool=...,
 ) -> bytes: ...