From 0f7cb43167960de30ab526e66c6d9cb673d1afb8 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Sun, 22 Dec 2024 22:43:23 +0300 Subject: [PATCH] Missing R in GOST --- pygost/gost34112012.py | 2 +- pygost/gost3412.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.48.1