aboutsummaryrefslogtreecommitdiffstats
path: root/src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-11-20 14:48:36 -0500
committerJack Lloyd <[email protected]>2016-11-20 14:48:36 -0500
commit601e1e3561086a8367985697bdf885893d391316 (patch)
tree6ad99b9e0b4c8ce132b0d7434253c07e010bb180 /src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec
parent9ab0c8bbed27ee08279d75a12bc83987405316ee (diff)
parentf8519ee780d4ce31b2c1f4a066990432e8346bea (diff)
Merge GH #733 Add timing test suite
Diffstat (limited to 'src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec')
-rw-r--r--src/extra_tests/timing/timing-tests/data/lucky13sec4sha1.vec13
1 files changed, 13 insertions, 0 deletions
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