]> Cypherpunks.ru repositories - pygost.git/commitdiff
No iv parameter in cbc_decrypt
authorSergey Matveev <stargrave@stargrave.org>
Tue, 24 Apr 2018 15:58:39 +0000 (18:58 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 9 Dec 2018 10:01:00 +0000 (13:01 +0300)
pygost/gost28147.py

index 0eff25df91b0b6e6b9ad3914c9c335438061135c..585d0e7f6866a2215664e06246d591b8664c4e25 100644 (file)
@@ -318,8 +318,6 @@ def cbc_decrypt(key, data, pad=True, sbox=DEFAULT_SBOX):
 
     :param bytes key: encryption key
     :param bytes data: ciphertext
-    :param iv: initialization vector
-    :type iv: bytes, BLOCKSIZE length
     :type bool pad: perform ISO/IEC 7816-4 unpadding after decryption
     :param sbox: S-box parameters to use
     :type sbox: str, SBOXES'es key