diff --git a/testsuite/blowfish-test.m4 b/testsuite/blowfish-test.m4 index 931ed8cb01ce832952bbc60e7e2f16e22ff76281..3326a613b8e9d892f466d4bac852d69d95cb2683 100644 --- a/testsuite/blowfish-test.m4 +++ b/testsuite/blowfish-test.m4 @@ -8,8 +8,8 @@ uint8_t msg[BLOWFISH_BLOCK_SIZE]; uint8_t cipher[BLOWFISH_BLOCK_SIZE]; uint8_t clear[BLOWFISH_BLOCK_SIZE]; -/* 128 bit key. Test from GNUPG. */ -blowfish_set_key(&ctx, 16, "abcdefghijklmnopqrstuvwxyz")); +/* 208 bit key. Test from GNUPG. */ +blowfish_set_key(&ctx, 26, "abcdefghijklmnopqrstuvwxyz"); blowfish_encrypt(&ctx, BLOWFISH_BLOCK_SIZE, cipher, "BLOWFISH"); if (!MEMEQ(BLOWFISH_BLOCK_SIZE, cipher, H("32 4E D0 FE F4 13 A2 03"))) FAIL;