summaryrefslogtreecommitdiff
path: root/test/i-128/test-tbc-decrypt.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/i-128/test-tbc-decrypt.c')
-rw-r--r--test/i-128/test-tbc-decrypt.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/i-128/test-tbc-decrypt.c b/test/i-128/test-tbc-decrypt.c
index 9bd6996..d888f3c 100644
--- a/test/i-128/test-tbc-decrypt.c
+++ b/test/i-128/test-tbc-decrypt.c
@@ -37,8 +37,8 @@ const vector VECTORS[] = {
0x2d, 0x54, 0x58, 0xc0, 0x1d, 0xcc, 0x8a, 0x25
},
.message = {
- 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07,
- 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f,
+ 0xc5, 0xbe, 0x64, 0xec, 0x80, 0x91, 0x49, 0x68,
+ 0x2f, 0x14, 0x10, 0xb0, 0xb8, 0x42, 0xa0, 0x50
}
},
{
@@ -57,8 +57,8 @@ const vector VECTORS[] = {
0xf9, 0xd2, 0xba, 0x6c, 0x41, 0xf4, 0x45, 0x7f
},
.message = {
- 0xbc, 0xd7, 0xf0, 0x29, 0x84, 0xb6, 0xc8, 0xf9,
- 0x9c, 0x9d, 0x1d, 0xbd, 0x0d, 0x30, 0x94, 0x0b
+ 0x3b, 0xfb, 0xdc, 0xae, 0x56, 0x9c, 0x52, 0xfd,
+ 0x50, 0x89, 0x77, 0xf6, 0xcb, 0x6a, 0x26, 0xe9
}
}
};
@@ -76,6 +76,7 @@ int main()
if (memcmp(message, v->message, sizeof(message)) != 0)
{
REPORT_DIFFERENCE(v->name, "decrypted message");
+ dump_c_initializer(BLOCK_BYTES, message);
diff++;
}
}