From 43c50423ade4f9c639b7aa28e7302bd2c903a490 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Mon, 27 Feb 2017 20:52:16 +0100 Subject: [PATCH] add yet another testvector --- src/ciphers/rc2.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ciphers/rc2.c b/src/ciphers/rc2.c index 2eebde2..8253e87 100644 --- a/src/ciphers/rc2.c +++ b/src/ciphers/rc2.c @@ -302,6 +302,12 @@ int rc2_test(void) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, { 0x6c, 0xcf, 0x43, 0x08, 0x97, 0x4c, 0x26, 0x7f } }, + { 8, + { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, + 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, + { 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }, + { 0x27, 0x8b, 0x27, 0xe4, 0x2e, 0x2f, 0x0d, 0x49 } + }, { 8, { 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 },