aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-06 13:26:31 -0400
committerJack Lloyd <[email protected]>2017-09-06 13:26:31 -0400
commit5a2db384a328dde3d5059fcdc2ebc1ff9a6039a7 (patch)
tree123e15077484a1d012541017d15e5c0814e7633d /src/tests/data
parentfe277cb0d2656c2fb9b06eed838481356a8b4f8a (diff)
Support arbitrary hashes for SM2 signatures
This is a contribution from Ribose Inc
Diffstat (limited to 'src/tests/data')
-rw-r--r--src/tests/data/pubkey/sm2_sig.vec1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/data/pubkey/sm2_sig.vec b/src/tests/data/pubkey/sm2_sig.vec
index d3356cceb..8a86dfc7d 100644
--- a/src/tests/data/pubkey/sm2_sig.vec
+++ b/src/tests/data/pubkey/sm2_sig.vec
@@ -7,6 +7,7 @@ yG = 0x0680512BCBB42C07D47349D2153B70C4E5D7FDFCBFA36EA1A85841B9E46E09A2
Order = 0x8542D69E4C044F18E8B92435BF6FF7DD297720630485628D5AE74EE7C32E79B7
Cofactor = 1
+Hash = SM3
Msg = 6D65737361676520646967657374
x = 0x128B2FA8BD433C6C068C8D803DFF79792A519A55171B1B650C23661D15897263