diff options
author | Jack Lloyd <[email protected]> | 2017-06-16 15:35:51 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-06-16 17:07:36 -0400 |
commit | 46e34bf0513129b76481477c4d07452cb48b3cd9 (patch) | |
tree | d233736ee6cf901d70ba2e377279654695c1fa32 /src/tests/data/block | |
parent | 37dac0dc7e1f28e30d25c544cc16dcf49575a0b4 (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.vec | 9 |
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 |