aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_sm2.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant "virtual override" declarations.Jack Lloyd2017-10-021-2/+2
|
* Add final annotations as appropriate in the test codeJack Lloyd2017-09-221-2/+2
|
* Update SM2 to use ASN.1 encoding for ciphertextsJack Lloyd2017-09-201-0/+2
| | | | | | | | | There are in fact 3 different variations of SM2 standard, first C1||C2||C3, then C1||C3||C2, then (most recently) an ASN.1 encoding. This makes us compatible with GmSSL This work was sponsored by Ribose Inc (@riboseinc).
* Support arbitrary hashes for SM2 signaturesJack Lloyd2017-09-061-2/+2
| | | | This is a contribution from Ribose Inc
* Support arbitrary hashes for SM2 encryptionJack Lloyd2017-09-051-3/+3
| | | | This is a contribution from Ribose Inc.
* Unused variable warning [ci skip]Jack Lloyd2017-08-141-1/+1
|
* Add SM2 encryption schemeJack Lloyd2017-08-041-1/+48
| | | | This is a contribution from Ribose Inc (@riboseinc)
* Add missing override annotationJack Lloyd2017-07-281-1/+1
|
* Add SM2 signature schemeJack Lloyd2017-06-291-0/+68
From https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02 This is a contribution from Ribose Inc (@riboseinc).