]> Cypherpunks.ru repositories - pygost.git/blobdiff - pygost/test_gost34112012.py
Fixed typo in parameter
[pygost.git] / pygost / test_gost34112012.py
index c7c2df9220e4200200c53ccf8f7d52a175813ca5..46401396c15fda6c47e25426d48552b3d21fadff 100644 (file)
@@ -1,6 +1,6 @@
 # coding: utf-8
 # PyGOST -- Pure Python GOST cryptographic functions library
-# Copyright (C) 2015-2023 Sergey Matveev <stargrave@stargrave.org>
+# Copyright (C) 2015-2024 Sergey Matveev <stargrave@stargrave.org>
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -137,7 +137,7 @@ class TestPBKDF2(TestCase):
     @skip("it takes too long")
     def test_4(self):
         self.assertSequenceEqual(
-            hexenc(pbkdf2(b"password", b"salt", 1677216, 64)),
+            hexenc(pbkdf2(b"password", b"salt", 16777216, 64)),
             "49e4843bba76e300afe24c4d23dc7392def12f2c0e244172367cd70a8982ac361adb601c7e2a314e8cb7b1e9df840e36ab5615be5d742b6cf203fb55fdc48071",
         )