Matt Caswell
2167239aba
Use lowercase for internal SM2 symbols
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6386 )
2018-06-04 11:59:56 +01:00
Matt Caswell
245be5304d
More more on SM2 error codes and tidy up
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6386 )
2018-06-04 11:59:56 +01:00
Matt Caswell
e14d6cf691
Improve use of the test framework in the SM2 internal tests
...
Also general clean up of those tests
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6386 )
2018-06-04 11:59:56 +01:00
Matt Caswell
44d3845d89
Further work on SM2 error codes
...
Also does some reformatting to tidy things up
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6386 )
2018-06-04 11:59:40 +01:00
Jack Lloyd
2398404e00
Set SM2 error codes
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6386 )
2018-06-04 11:59:40 +01:00
Jack Lloyd
e425f90fff
Make SM2 functions private
...
Address issue #5670
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6386 )
2018-06-04 11:59:40 +01:00
Matt Caswell
b0edda11cb
Update copyright year
...
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5689 )
2018-03-20 13:08:46 +00:00
Jack Lloyd
4e66475063
Handle evp_tests assumption of EVP_PKEY_FLAG_AUTOARGLEN
...
Without actually using EVP_PKEY_FLAG_AUTOARGLEN
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4793 )
2018-03-19 14:33:25 +01:00
Jack Lloyd
dceb99a5fb
Support SM2 ECIES scheme via EVP
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4793 )
2018-03-19 14:33:25 +01:00
Jack Lloyd
3d328a445c
Add SM2 signature and ECIES schemes
...
Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4793 )
2018-03-19 14:33:25 +01:00