]> Cypherpunks.ru repositories - pygost.git/commitdiff
Missing gost28147_mac.new typing stub
authorSergey Matveev <stargrave@stargrave.org>
Sat, 27 Jan 2018 10:30:29 +0000 (13:30 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 9 Dec 2018 10:01:00 +0000 (13:01 +0300)
pygost/stubs/pygost/gost28147_mac.pyi

index 2ba4341ccf84b272cb96b5447ac3fb76ee4f8738..4386f376af7414a7414e4e2c3181cca71e7e0205 100644 (file)
@@ -20,3 +20,6 @@ class MAC(PEP247):
     def digest(self) -> bytes: ...
 
     def hexdigest(self) -> str: ...
+
+
+def new(key: bytes, data: bytes=..., iv: bytes=..., sbox: str=...) -> MAC: ...