From: Sergey Matveev Date: Sat, 27 Jan 2018 10:30:29 +0000 (+0300) Subject: Missing gost28147_mac.new typing stub X-Git-Tag: 3.15~35 X-Git-Url: http://www.git.cypherpunks.ru/?p=pygost.git;a=commitdiff_plain;h=bc95c50ad85f83cde6212981d71f52e13dacfaa1;ds=sidebyside Missing gost28147_mac.new typing stub --- diff --git a/pygost/stubs/pygost/gost28147_mac.pyi b/pygost/stubs/pygost/gost28147_mac.pyi index 2ba4341..4386f37 100644 --- a/pygost/stubs/pygost/gost28147_mac.pyi +++ b/pygost/stubs/pygost/gost28147_mac.pyi @@ -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: ...