]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/stubs/pygost/gost3412.pyi
CTR-ACPKM, OMAC-ACPKM-Master modes of operation
[pygost.git] / pygost / stubs / pygost / gost3412.pyi
index c67a7daa7c9c7c682e783a180a4d19368283e0b8..ef278b7fe63ee1536489e4f6bbda098d6538b61f 100644 (file)
@@ -1,4 +1,16 @@
 class GOST3412Kuznechik(object):
+    blocksize = ...  # type: int
+
+    def __init__(self, key: bytes) -> None: ...
+
+    def encrypt(self, blk: bytes) -> bytes: ...
+
+    def decrypt(self, blk: bytes) -> bytes: ...
+
+
+class GOST3412Magma(object):
+    blocksize = ...  # type: int
+
     def __init__(self, key: bytes) -> None: ...
 
     def encrypt(self, blk: bytes) -> bytes: ...