aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data/block
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-06-16 15:35:51 -0400
committerJack Lloyd <[email protected]>2017-06-16 17:07:36 -0400
commit46e34bf0513129b76481477c4d07452cb48b3cd9 (patch)
treed233736ee6cf901d70ba2e377279654695c1fa32 /src/tests/data/block
parent37dac0dc7e1f28e30d25c544cc16dcf49575a0b4 (diff)
Add SM4 block cipher
This work was sponsored by Ribose Inc
Diffstat (limited to 'src/tests/data/block')
-rw-r--r--src/tests/data/block/sm4.vec9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tests/data/block/sm4.vec b/src/tests/data/block/sm4.vec
new file mode 100644
index 000000000..fbdba610f
--- /dev/null
+++ b/src/tests/data/block/sm4.vec
@@ -0,0 +1,9 @@
+[SM4]
+Key = 0123456789abcdeffedcba9876543210
+In = 0123456789abcdeffedcba9876543210
+Out = 681edf34d206965e86b3e94f536e4246
+
+Iterations = 1000000
+Key = 0123456789abcdeffedcba9876543210
+In = 0123456789abcdeffedcba9876543210
+Out = 595298c7c6fd271f0402f804c33d3f66