Skip to content

Commit 96c9f62

Browse files
magnumrippersolardiz
authored andcommitted
Add an 8-bit test vector for LM formats
Closes #5702.
1 parent c9b9c7e commit 96c9f62

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/LM_fmt.c

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ static struct fmt_tests tests[] = {
4242
{"$LM$A5E6066DE61C3E35", "ZZZZZZZ"}, /* uppercase encoding */
4343
{"$LM$1FB363feB834C12D", "ZZZZZZ"}, /* mixed case encoding */
4444
{"$LM$fea4ab7d7b7d0452", "0688648"},
45+
{"$LM$C6A3396B0AEF1EF9", "S\x9aTI"}, /* 8-bit character, "SÜTI" in CP852 */
4546

4647
{NULL}
4748
};

src/opencl_lm_fmt_plug.c

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ static struct fmt_tests tests[] = {
4343
{"$LM$5ecd9236d21095ce", "YOKOHAM"},
4444
{"$LM$A5E6066DE61C3E35", "ZZZZZZZ"}, /* uppercase encoding */
4545
{"$LM$1FB363feB834C12D", "ZZZZZZ"}, /* mixed case encoding */
46+
{"$LM$C6A3396B0AEF1EF9", "S\x9aTI"}, /* 8-bit character, "SÜTI" in CP852 */
4647
{NULL}
4748
};
4849

0 commit comments

Comments
 (0)