From 5848645d0726157a0a1ba8c811dc3d3567fc500e Mon Sep 17 00:00:00 2001 From: Juraj Somorovsky Date: Sat, 19 Nov 2016 23:42:21 +0100 Subject: Timing test suite with the mona timing library --- .../timing/timing-tests/data/lucky13sec4sha1.vec | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec (limited to 'src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec') diff --git a/src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec b/src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec new file mode 100644 index 000000000..ee11ec5db --- /dev/null +++ b/src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec @@ -0,0 +1,13 @@ +# Lucky 13 Section 4.2: 4 plaintext blocks +# Case 0: 0x00 padding byte +00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 +# Case 1: At least two valid padding bytes +00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000101 +# Case 2: Invalid padding +00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000004030303 +# Further cases (only for extended validations) +#00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000000000 00000000000000000000000000020202 +#00000000000000000000000000000000 00000000000000000000000000000000 1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F 1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F1F +#00000000000000000000000000000000 00000000000000000000000000000000 +#00000000000000000000000000000000 00000000000000000000000000000101 +#00000000000000000000000000000000 00000000000000000000000004030303 \ No newline at end of file -- cgit v1.2.3