Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Jul 12, 2024
1 parent cdb5fcf commit ee9b374
Showing 1 changed file with 36 additions and 3 deletions.
39 changes: 36 additions & 3 deletions yescrypt/tests/kats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,18 +67,51 @@ yescrypt_kat!(kat6, "", "", 1, 4, 1, 1, 2, 0, "e6 e8 bb a0 9b 64 12 ff b0 b3 cc
yescrypt_kat!(kat7, "", "", 1, 4, 1, 1, 3, 0, "ac d9 a4 20 1c f4 a4 76 ec f7 ba a6 11 3d 86 fb 65 cd 07 10 2b 40 04 e4 f9 d9 9c d3 42 55 a1 08 99 7d 70 ae 0a 64 bf 0a 4d 96 c1 73 ab f8 82 79 c1 a9 4a d9 bd f1 68 ed fb bd 90 f6 6e d5 c8 0d");
yescrypt_kat!(kat8, "", "", 1, 4, 1, 1, 3, 0, "ac d9 a4 20 1c f4 a4 76 ec f7 ba a6 11 3d 86 fb 65 cd 07 10 2b 40 04 e4 f9 d9 9c d3 42 55 a1 08 99");
yescrypt_kat!(kat9, "", "", 1, 4, 1, 1, 3, 0, "ac d9 a4 20 1c f4 a4 76 ec f7 ba a6 11 3d 86 fb 65 cd 07 10 2b 40 04 e4 f9 d9 9c d3 42 55 a1 08");
yescrypt_kat!(kat10, "", "", 1, 4, 1, 1, 3, 0, "ac d9 a4 20 1c f4 a4 76 ec f7 ba a6 11 3d 86 fb 65 cd 07 10 2b 40 04 e4 f9 d9 9c d3 42 55 a1");
yescrypt_kat!(
kat10,
"",
"",
1,
4,
1,
1,
3,
0,
"ac d9 a4 20 1c f4 a4 76 ec f7 ba a6 11 3d 86 fb 65 cd 07 10 2b 40 04 e4 f9 d9 9c d3 42 55 a1"
);
yescrypt_kat!(kat11, "", "", 1, 4, 1, 1, 3, 0, "ac");
yescrypt_kat!(kat12, "", "", 182, 4, 1, 1, 0, 0, "0c d5 af 76 eb 24 1d f8 11 9a 9a 12 2a e3 69 20 bc c7 f4 14 b9 c0 d5 8f 45 00 80 60 da de 46 b0 c8 09 22 bd cc 16 a3 ab 5d 20 1d 4c 61 40 c6 71 be 1f 75 27 2c a9 04 73 9d 5a d1 ff 67 2b 0c 21");
yescrypt_kat!(kat13, "", "", 182, 4, 1, 1, 0, 0, "0c d5 af 76");
yescrypt_kat!(kat14, "", "", 182, 4, 1, 1, 1, 0, "23 b6 ad f0 b6 0c 9a 99 7f 58 58 3d 80 cd a4 8c 63 8c dc 2f 28 9e df 93 a7 08 07 72 5a 0d 35 c4 68 ca 36 2c 55 57 cc 04 b6 81 1e 2e 73 08 41 f5 26 d8 f4 f7 ac fb fa 9e 06 fe 1f 38 3a 71 15 5e");
yescrypt_kat!(kat15, "", "", 182, 4, 1, 1, 1, 0, "23 b6 ad f0 b6 0c 9a 99 7f 58 58 3d 80 cd a4 8c 63 8c dc 2f 28 9e df 93 a7 08 07 72 5a 0d 35 c4 68");
yescrypt_kat!(kat16, "", "", 182, 4, 1, 1, 1, 0, "23 b6 ad f0 b6 0c 9a 99 7f 58 58 3d 80 cd a4 8c 63 8c dc 2f 28 9e df 93 a7 08 07 72 5a 0d 35 c4");
yescrypt_kat!(kat17, "", "", 182, 4, 1, 1, 1, 0, "23 b6 ad f0 b6 0c 9a 99 7f 58 58 3d 80 cd a4 8c 63 8c dc 2f 28 9e df 93 a7 08 07 72 5a 0d 35");
yescrypt_kat!(
kat17,
"",
"",
182,
4,
1,
1,
1,
0,
"23 b6 ad f0 b6 0c 9a 99 7f 58 58 3d 80 cd a4 8c 63 8c dc 2f 28 9e df 93 a7 08 07 72 5a 0d 35"
);
yescrypt_kat!(kat18, "", "", 182, 4, 1, 1, 1, 0, "23");
yescrypt_kat!(kat19, "p", "s", 182, 16, 8, 1, 10, 0, "e1 f9 81 73 3a 94 05 2f cd 7a cb 14 05 df 0b bd e8 e4 99 b6 a1 33 1b 77 59 09 b4 8c 2f 51 6c 40 dc c8 30 16 35 b7 23 7b");
yescrypt_kat!(kat20, "p", "s", 1, 16, 8, 1, 10, 0, "9e 7a 40 97 64 42 84 cf 3b 73 b6 04 50 ff 23 0c dc b6 b1 b1 9b 15 09 ee b4 82 f6 96 c4 f1 c7 05 c0 0f 74 02 16 18 3a 12");
yescrypt_kat!(kat21, "p", "s", 182, 16, 8, 1, 0, 0, "c8 c7 ff 11 22 b0 b2 91 c3 f2 60 89 48 78 2c d6 89 cc 45 57 90 17 aa a5 ff 8b aa 74 a6 32 ec 99 c3 d6 69 30 fb 20 23 bb");
yescrypt_kat!(kat22, "p", "s", 1, 16, 8, 1, 0, 0, "9d d6 36 c2 d0 bb 92 34 52 86 ef da f8 a6 8c fc 1b 4f fd c4 b1 ad ac cc 7d 86 4b 9a 67 87 b8 5d 6a e0 f5 28 0d a8 88 9f");
yescrypt_kat!(kat23, "p", "s", 182, 16, 8, 1, 0, 0, "c8 c7 ff 11 22 b0 b2 91 c3 f2 60 89 48 78 2c d6 89 cc 45 57 90 17 aa a5 ff 8b aa 74 a6 32 ec 99");
yescrypt_kat!(kat24, "p", "s", 182, 16, 8, 1, 0, 0, "c8 c7 ff 11 22 b0 b2 91");
yescrypt_kat!(
kat24,
"p",
"s",
182,
16,
8,
1,
0,
0,
"c8 c7 ff 11 22 b0 b2 91"
);

0 comments on commit ee9b374

Please sign in to comment.