Add test case for SM2 evp verification
authorJack Lloyd <jack.lloyd@ribose.com>
Tue, 4 Sep 2018 15:25:29 +0000 (23:25 +0800)
committerPaul Yang <yang.yang@baishancloud.com>
Fri, 7 Sep 2018 10:12:26 +0000 (18:12 +0800)
commita6c4cb845a031f09c6303a2c3452e253d0d01518
tree4d45bdb443d0f460aac4063d91fbf6a173d46d6c
parent4803717f5e3bcfba3e3442e1611f421bf1090a47
Add test case for SM2 evp verification

This test case is originally submitted in #6757, by Jack Lloyd. The test
case has been modified to use the a different method to set the ID when
computing the Z hash of SM2 signature.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Yang <yang.yang@baishancloud.com>
(Merged from https://github.com/openssl/openssl/pull/7113)
test/evp_extra_test.c