Update SM2 methods

The default `./config` will enable the X86_64 ASM implementation of SM2. Use `./config -DGMSSL_NO_TURBO enable-ec_nistp_64_gcc_128` will enable the fast C implementation of SM2. The  `./config -DGMSSL_NO_TURBO` will use the original implementation.
This commit is contained in:
Zhi Guan
2019-01-26 17:26:03 +08:00
parent 674cada9bc
commit 7d5c18379f
8 changed files with 5433 additions and 5420 deletions

View File

@@ -41,9 +41,9 @@ extern "C" {
*/
# define OPENSSL_VERSION_NUMBER 0x1010004fL
# ifdef OPENSSL_FIPS
# define OPENSSL_VERSION_TEXT "GmSSL 2.4.3 - OpenSSL 1.1.0d-fips 23 Jan 2019"
# define OPENSSL_VERSION_TEXT "GmSSL 2.4.4 - OpenSSL 1.1.0d-fips 26 Jan 2019"
# else
# define OPENSSL_VERSION_TEXT "GmSSL 2.4.3 - OpenSSL 1.1.0d 23 Jan 2019"
# define OPENSSL_VERSION_TEXT "GmSSL 2.4.4 - OpenSSL 1.1.0d 26 Jan 2019"
# endif
/*-