From: Sergey Matveev Date: Sun, 22 Dec 2024 19:43:23 +0000 (+0300) Subject: Missing R in GOST X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0f7cb43167960de30ab526e66c6d9cb673d1afb8;p=pygost.git Missing R in GOST --- diff --git a/pygost/gost34112012.py b/pygost/gost34112012.py index 855e18b..a60f1cd 100644 --- a/pygost/gost34112012.py +++ b/pygost/gost34112012.py @@ -224,7 +224,7 @@ def L(data): class GOST34112012(PEP247): - """GOST 34.11-2012 big-endian hash + """GOST R 34.11-2012 big-endian hash >>> m = GOST34112012(digest_size=32) >>> m.update("foo") diff --git a/pygost/gost3412.py b/pygost/gost3412.py index 2ca2eef..02eabef 100644 --- a/pygost/gost3412.py +++ b/pygost/gost3412.py @@ -13,7 +13,7 @@ # # You should have received a copy of the GNU General Public License # along with this program. If not, see . -"""GOST 34.12-2015 64 and 128 bit block ciphers (:rfc:`7801`) +"""GOST R 34.12-2015 64 and 128 bit block ciphers (:rfc:`7801`) Several precalculations are performed during this module importing. """ @@ -123,7 +123,7 @@ def lp(blk): class GOST3412Kuznechik(object): - """GOST 34.12-2015 128-bit block cipher Кузнечик (Kuznechik) + """GOST R 34.12-2015 128-bit block cipher Кузнечик (Kuznechik) """ blocksize = 16 @@ -158,7 +158,7 @@ class GOST3412Kuznechik(object): class GOST3412Magma(object): - """GOST 34.12-2015 64-bit block cipher Магма (Magma) + """GOST R 34.12-2015 64-bit block cipher Магма (Magma) """ blocksize = 8