]> 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 5b177435238df71c634c3104398d310f4e1a2108..ef278b7fe63ee1536489e4f6bbda098d6538b61f 100644 (file)
@@ -1,4 +1,16 @@
-class GOST3412Kuz(object):
+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: ...