aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorDaniel Wyatt <[email protected]>2017-04-02 12:06:15 -0400
committerRonald Tse <[email protected]>2017-04-03 08:09:14 +0900
commit80e2864358df6be840b4b6c7a6f5c331c4a375f4 (patch)
treea0bac9c0c240cb7cdd6b49034f14cebb2e6a99ac /src/tests
parentc8bec4132b1b7937438263fee14bd8e039d4c0b7 (diff)
Add SM3 hash function
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/data/hash/sm3.vec6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tests/data/hash/sm3.vec b/src/tests/data/hash/sm3.vec
new file mode 100644
index 000000000..a2f4a957c
--- /dev/null
+++ b/src/tests/data/hash/sm3.vec
@@ -0,0 +1,6 @@
+[SM3]
+In = 616263
+Out = 66C7F0F462EEEDD9D1F2D46BDC10E4E24167C4875CF2F7A2297DA02B8F4BA8E0
+
+In = 61626364616263646162636461626364616263646162636461626364616263646162636461626364616263646162636461626364616263646162636461626364
+Out = DEBE9FF92275B8A138604889C18E5A4D6FDB70E5387E5765293dCbA39C0C5732