Skip to content

Commit

Permalink
SM3 format: Add second test vector
Browse files Browse the repository at this point in the history
  • Loading branch information
solardiz committed Jun 29, 2024
1 parent 2f8bde6 commit 00f7934
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sm3_fmt_plug.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ john_register_one(&fmt_sm3);

static struct fmt_tests sm3_tests[] = {
{ "66c7f0f462eeedd9d1f2d46bdc10e4e24167c4875cf2f7a2297da02b8f4ba8e0", "abc" },
{ "debe9ff92275b8a138604889c18e5a4d6fdb70e5387e5765293dcba39c0c5732",
"abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcd" },
{ "$sm3$66c7f0f462eeedd9d1f2d46bdc10e4e24167c4875cf2f7a2297da02b8f4ba8e0", "abc" },
{ NULL }
};
Expand Down

0 comments on commit 00f7934

Please sign in to comment.