Rich Salz
cbfa5b0398
Regenerate mkerr files
...
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9058 )
2019-07-16 05:26:28 +02:00
Richard Levitte
f9f859adc6
Following the license change, modify the boilerplates in crypto/smN/
...
[skip ci]
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7818 )
2018-12-06 15:24:52 +01:00
Paul Yang
f922dac87d
Add missing SM2err and fix doc nits
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7113 )
2018-09-07 18:12:26 +08:00
Paul Yang
675f4ceef8
Update document for SM2 stuffs
...
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7113 )
2018-09-07 18:12:26 +08:00
Paul Yang
4803717f5e
Support setting SM2 ID
...
zero-length ID is allowed, but it's not allowed to skip the ID.
Fixes : #6534
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7113 )
2018-09-07 18:12:26 +08:00
Jack Lloyd
ddb634fe6f
Move SM2 algos to SM2 specific PKEY method
...
Use EVP_PKEY_set_alias_type to access
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6443 )
2018-06-19 11:29:44 +01:00
Matt Caswell
722add716b
Rebuild error codes
...
There were a large number of error codes that were unused (probably a
copy&paste from somewhere else). Since these have never been made public
we should remove then and rebuild the error codes.
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
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
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
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