]> Cypherpunks.ru repositories - gogost.git/commitdiff
Unify comments
authorSergey Matveev <stargrave@stargrave.org>
Wed, 3 Apr 2024 07:52:11 +0000 (10:52 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 3 Apr 2024 07:52:11 +0000 (10:52 +0300)
gost341194/pbkdf2_test.go

index ee08fc71b90ab27dafc832777c06c7b4391d365b..7d481b15f34c104618e9c784224901581bc90999 100644 (file)
@@ -82,24 +82,22 @@ func TestPBKDF2Vectors(t *testing.T) {
                }
        })
 
-       /*
-               t.Run("16777216", func(t *testing.T) {
-                       if !bytes.Equal(pbkdf2.Key(
-                               []byte("password"),
-                               []byte("salt"),
-                               16777216,
-                               32,
-                               PBKDF2Hash,
-                       ), []byte{
-                               0xa5, 0x7a, 0xe5, 0xa6, 0x08, 0x83, 0x96, 0xd1,
-                               0x20, 0x85, 0x0c, 0x5c, 0x09, 0xde, 0x0a, 0x52,
-                               0x51, 0x00, 0x93, 0x8a, 0x59, 0xb1, 0xb5, 0xc3,
-                               0xf7, 0x81, 0x09, 0x10, 0xd0, 0x5f, 0xcd, 0x97,
-                       }) {
-                               t.FailNow()
-                       }
-               })
-       */
+       // t.Run("16777216", func(t *testing.T) {
+       //      if !bytes.Equal(pbkdf2.Key(
+       //              []byte("password"),
+       //              []byte("salt"),
+       //              16777216,
+       //              32,
+       //              PBKDF2Hash,
+       //      ), []byte{
+       //              0xa5, 0x7a, 0xe5, 0xa6, 0x08, 0x83, 0x96, 0xd1,
+       //              0x20, 0x85, 0x0c, 0x5c, 0x09, 0xde, 0x0a, 0x52,
+       //              0x51, 0x00, 0x93, 0x8a, 0x59, 0xb1, 0xb5, 0xc3,
+       //              0xf7, 0x81, 0x09, 0x10, 0xd0, 0x5f, 0xcd, 0x97,
+       //      }) {
+       //              t.FailNow()
+       //      }
+       // })
 
        t.Run("many", func(t *testing.T) {
                if !bytes.Equal(pbkdf2.Key(