From: Sergey Matveev Date: Sat, 8 Dec 2018 15:31:18 +0000 (+0300) Subject: sbox argument for pygost.wrap.* functions is optional X-Git-Tag: 3.15~4 X-Git-Url: http://www.git.cypherpunks.ru/?p=pygost.git;a=commitdiff_plain;h=6456798229333b909921d3ae79fc4b6e046bea87 sbox argument for pygost.wrap.* functions is optional --- diff --git a/pygost/stubs/pygost/wrap.pyi b/pygost/stubs/pygost/wrap.pyi index 7aba9d2..23080ab 100644 --- a/pygost/stubs/pygost/wrap.pyi +++ b/pygost/stubs/pygost/wrap.pyi @@ -1,10 +1,10 @@ -def wrap_gost(ukm: bytes, kek: bytes, cek: bytes, sbox: str) -> bytes: ... +def wrap_gost(ukm: bytes, kek: bytes, cek: bytes, sbox: str = ...) -> bytes: ... -def unwrap_gost(kek: bytes, data: bytes, sbox: str) -> bytes: ... +def unwrap_gost(kek: bytes, data: bytes, sbox: str = ...) -> bytes: ... -def wrap_cryptopro(ukm: bytes, kek: bytes, cek: bytes, sbox: str) -> bytes: ... +def wrap_cryptopro(ukm: bytes, kek: bytes, cek: bytes, sbox: str = ...) -> bytes: ... -def unwrap_cryptopro(kek: bytes, data: bytes, sbox: str) -> bytes: ... +def unwrap_cryptopro(kek: bytes, data: bytes, sbox: str = ...) -> bytes: ...