pygost/gost3413.py | 14 +++++++------- diff --git a/pygost/gost3413.py b/pygost/gost3413.py index 5dc399fb4c1eb37ce151af866996707676eabf07057e484cb0923cc6a937583c..d7f62591ab3418d4dde2dc4269bc2cb14e2fed421afee6784f09efaf44d8cc70 100644 --- a/pygost/gost3413.py +++ b/pygost/gost3413.py @@ -74,7 +74,7 @@ def ecb_encrypt(encrypter, bs, pt): """ECB encryption mode of operation - :param encrypter: Encrypting function, that takes block as an input + :param encrypter: encrypting function, that takes block as an input :param int bs: cipher's blocksize :param bytes pt: already padded plaintext """ @@ -104,7 +104,7 @@ def ctr(encrypter, bs, data, iv): """Counter mode of operation - :param encrypter: Encrypting function, that takes block as an input + :param encrypter: encrypting function, that takes block as an input :param int bs: cipher's blocksize :param bytes data: plaintext/ciphertext :param bytes iv: half blocksize-sized initialization vector @@ -124,7 +124,7 @@ def ofb(encrypter, bs, data, iv): """OFB mode of operation - :param encrypter: Encrypting function, that takes block as an input + :param encrypter: encrypting function, that takes block as an input :param int bs: cipher's blocksize :param bytes data: plaintext/ciphertext :param bytes iv: blocksize-sized initialization vector @@ -144,7 +144,7 @@ def cbc_encrypt(encrypter, bs, pt, iv): """CBC encryption mode of operation - :param encrypter: Encrypting function, that takes block as an input + :param encrypter: encrypting function, that takes block as an input :param int bs: cipher's blocksize :param bytes pt: already padded plaintext :param bytes iv: blocksize-sized initialization vector @@ -185,7 +185,7 @@ def cfb_encrypt(encrypter, bs, pt, iv): """CFB encryption mode of operation - :param encrypter: Encrypting function, that takes block as an input + :param encrypter: encrypting function, that takes block as an input :param int bs: cipher's blocksize :param bytes pt: plaintext :param bytes iv: blocksize-sized initialization vector @@ -203,7 +203,7 @@ def cfb_decrypt(encrypter, bs, ct, iv): """CFB decryption mode of operation - :param encrypter: Encrypting function, that takes block as an input + :param encrypter: encrypting function, that takes block as an input :param int bs: cipher's blocksize :param bytes ct: ciphertext :param bytes iv: blocksize-sized initialization vector @@ -235,7 +235,7 @@ def mac(encrypter, bs, data): """MAC (known here as CMAC, OMAC1) mode of operation - :param encrypter: Encrypting function, that takes block as an input + :param encrypter: encrypting function, that takes block as an input :param int bs: cipher's blocksize :param bytes data: data to authenticate