Commit 6b891ff9 authored by Niels Möller's avatar Niels Möller

(test_main): Enabled test with short, 40-bit, key.

Rev: nettle/testsuite/serpent-test.c:1.6
parent ea4c06f4
...@@ -147,14 +147,14 @@ test_main(void) ...@@ -147,14 +147,14 @@ test_main(void)
"00000000000000000000000000000000"), "00000000000000000000000000000000"),
HL("0000000001000000 0200000003000000"), HL("0000000001000000 0200000003000000"),
H("C1415AC653FD7C7F D917482EE8EBFE25")); H("C1415AC653FD7C7F D917482EE8EBFE25"));
#if 0
/* Currrently, key sizes smaller than SERPENT_MIN_KEY_SIZE bytes /* Currrently, key sizes smaller than SERPENT_MIN_KEY_SIZE bytes
(128 bits) are not supported. */ (128 bits) are not supported. */
test_cipher(&nettle_serpent256, test_cipher(&nettle_serpent256,
HL("0011223344"), HL("0011223344"),
HL("0000000001000000 0200000003000000"), HL("0000000001000000 0200000003000000"),
H("C1415AC653FD7C7F D917482EE8EBFE25")); H("C1415AC653FD7C7F D917482EE8EBFE25"));
#endif
test_cipher(&nettle_serpent256, test_cipher(&nettle_serpent256,
HL("00112233445566778899aabbccddeeff" HL("00112233445566778899aabbccddeeff"
"00010000000000000000000000000000"), "00010000000000000000000000000000"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment