]> Cypherpunks repositories - pygost.git/commitdiff
Missing R in GOST
authorSergey Matveev <stargrave@stargrave.org>
Sun, 22 Dec 2024 19:43:23 +0000 (22:43 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 22 Dec 2024 19:43:23 +0000 (22:43 +0300)
pygost/gost34112012.py
pygost/gost3412.py

index 855e18b822ca36b171c628b04a273aa1ee06c5ef..a60f1cd8267482cfd5703d404bc5411e2c5e0e61 100644 (file)
@@ -224,7 +224,7 @@ def L(data):
 
 
 class GOST34112012(PEP247):
-    """GOST 34.11-2012 big-endian hash
+    """GOST 34.11-2012 big-endian hash
 
     >>> m = GOST34112012(digest_size=32)
     >>> m.update("foo")
index 2ca2eefe3260821082ba4d694d944f63b5fdfe3e..02eabef7c61fc2795041a2cb96ed37284d3f3b00 100644 (file)
@@ -13,7 +13,7 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
-"""GOST 34.12-2015 64 and 128 bit block ciphers (:rfc:`7801`)
+"""GOST 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 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 34.12-2015 64-bit block cipher Магма (Magma)
     """
     blocksize = 8