]> Cypherpunks.ru repositories - pygost.git/commitdiff
Add some missing typestubs
authorSergey Matveev <stargrave@stargrave.org>
Tue, 19 Jun 2018 18:33:36 +0000 (21:33 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 9 Dec 2018 10:01:00 +0000 (13:01 +0300)
pygost/stubs/pygost/gost34112012.pyi
pygost/stubs/pygost/gost34112012256.pyi
pygost/stubs/pygost/gost34112012512.pyi
pygost/stubs/pygost/gost341194.pyi

index 17a727f43563c03424906aae2fca5a880ff83a91..dd0cc4c35fdc4d2433cbd374801378c9ddb824c3 100644 (file)
@@ -2,6 +2,8 @@ from pygost.iface import PEP247
 
 
 class GOST34112012(PEP247):
+    block_size = ...  # type: int
+
     def __init__(self, data: bytes=..., digest_size: int=...) -> None: ...
 
     @property
index fcbe64e591b0a358775ddc5f636e1fc58cbdb082..1bae785a45cb2e2e30f9f9773dc509b57e1e7512 100644 (file)
@@ -2,6 +2,8 @@ from pygost.iface import PEP247
 
 
 class GOST34112012256(PEP247):
+    block_size = ...  # type: int
+
     def __init__(self, data: bytes=...) -> None: ...
 
     @property
index 1276e2efcbe46bae16026c6216b176f3070f7bef..0a3d7b33c4348dd4e85f9381ff02a778e047302f 100644 (file)
@@ -2,6 +2,8 @@ from pygost.iface import PEP247
 
 
 class GOST34112012512(PEP247):
+    block_size = ...  # type: int
+
     def __init__(self, data: bytes=...) -> None: ...
 
     @property
index b495957fb8fe8b3275e9debd396499200e3bf00a..87492c8642c59ba2d96f8d8783bcc9b8a4a76b9a 100644 (file)
@@ -2,6 +2,9 @@ from pygost.iface import PEP247
 
 
 class GOST341194(PEP247):
+    sbox = ...  # type: str
+    block_size = ...  # type: int
+
     def __init__(self, data: bytes=..., sbox: str=...) -> None: ...
 
     @property