From bc95c50ad85f83cde6212981d71f52e13dacfaa1 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sat, 27 Jan 2018 13:30:29 +0300 Subject: [PATCH] Missing gost28147_mac.new typing stub --- pygost/stubs/pygost/gost28147_mac.pyi | 3 +++ 1 file changed, 3 insertions(+) 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: ... -- 2.44.0