195 Commits

Author SHA1 Message Date
Simon
f544e1e45a fix sm2 compile error (#983)
* fix i2o_SM2CiphertextValue error

* fix i2o_SM2CiphertextValue error
2020-06-19 20:11:12 +08:00
Zhi Guan
5a000d0998 remove warnings 2020-06-19 15:56:33 +08:00
Zhi Guan
c8fab0ffac Add zuc256 to gmssl and speed 2019-09-03 17:42:18 +08:00
Zhi Guan
01c1bfa965 Fix windows build error 2019-09-03 17:10:21 +08:00
Zhi Guan
12505f111f Add 128-EEA3, 128-EIA3, ZUC-MAC, ZUC256, ZUC256-MAC and EVP_zuc256 2019-09-03 14:51:33 +08:00
Zhi Guan
c4455c96ae Fix sm3 bug 2019-08-28 11:14:50 +08:00
Zhi Guan
10726098b4 remove warning 2019-08-18 19:17:04 +08:00
Zhi Guan
7cb16715f0 Add SM3 compute Z 2019-08-18 19:16:40 +08:00
Zhi Guan
cb78796295 fix build error 2019-08-13 17:01:31 +08:00
Zhi Guan
b42251945e version 2.5.3
new sms4 api, go api and ciphersuites
2019-08-13 15:07:53 +08:00
Zhi Guan
1811f1b51d Fix SMS4-XTS bug 2019-08-01 09:15:08 +08:00
Zhi Guan
fa68930083 Add SM4/SM3 PSK ciphersuite 2019-07-18 16:02:54 +08:00
Zhi Guan
cfcffd03d0 Clean SM2 and SM3 2019-06-15 23:42:35 +08:00
Zhi Guan
934a66ec36 Clean SM3 and ZUC 2019-06-14 13:23:26 +08:00
Zhi Guan
3be27d5d2e A clean version 2019-06-13 21:35:40 +08:00
Zhi Guan
74d7992dda Remove some ciphers 2019-06-13 20:35:11 +08:00
Zhi Guan
c0984b6436 Remove CPK module 2019-06-13 18:22:44 +08:00
Zhi Guan
bdd3d75e89 Remove SAF and SOF module 2019-06-13 18:17:26 +08:00
Zhi Guan
24f8a17c63 Update
remove ECRS, EC-Schnorr modules
2019-06-13 17:02:51 +08:00
Zhi Guan
6c122e31a6 Add ECSCHNORR 2019-04-04 10:41:38 +08:00
Zhi Guan
5b90476864 Add new EC/SM2 API 2019-02-28 17:49:37 +08:00
Zhi Guan
bf4c6920d9 Update BN and EC module 2019-02-24 06:15:22 +01:00
Zhi Guan
fb47201b7e Add ECRS module 2019-02-17 18:48:33 +08:00
Zhi Guan
258e44ea89 Add S/MIME support with SM algorithms 2019-02-13 22:03:23 +08:00
Zhi Guan
d114bed3f8 Fix sm2utl bugs 2019-02-02 20:44:51 +08:00
Zhi Guan
22027d6656 Add paillier homomorphic encryption command
See http://gmssl.org/docs/paillier.md
2019-02-01 23:49:16 +08:00
Zhi Guan
7d5c18379f 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.
2019-01-26 17:26:03 +08:00
Zhi Guan
a58a817e9c Bug fix 2019-01-23 09:50:13 +08:00
Zhi Guan
5359dd5534 Update SKF 2019-01-23 09:13:30 +08:00
Zhi Guan
4bab277911 Update sm2 and zuc 2019-01-12 11:56:06 +08:00
Zhi Guan
6f9620d24b Update sdf and skf commands 2019-01-10 21:06:07 +08:00
Zhi Guan
2e0ff1f98e Bug fix 2019-01-02 22:05:15 +08:00
Zhi Guan
8f54e70ada Add sdf and skf options 2019-01-02 21:09:41 +08:00
Zhi Guan
786d6f0205 Add sm2utl and sm9utl commands 2018-12-25 14:49:12 +08:00
Zhi Guan
62d385ab71 Bug fix 2018-12-19 12:21:42 +08:00
Zhi Guan
74a729aa77 Add sm2 and otp command
try `gmssl sm2 -help` and `gmssl otp -help`
2018-12-19 10:01:38 +08:00
Zhi Guan
1c00e47681 Update sm9 functions 2018-12-07 16:32:12 +08:00
Zhi Guan
9b5eaab86a some bug fix 2018-12-06 22:12:05 +08:00
Zhi Guan
bc2bb8a335 Add accurate asn.1 siganture/ciphertext size 2018-12-04 15:56:21 +08:00
Zhi Guan
c0ee87b077 Update SM9 EVP 2018-12-03 17:15:57 +08:00
Zhi Guan
5f3bb5c346 update pmeth/ameth 2018-11-28 16:15:06 +08:00
Zhi Guan
952321677f Merge branch 'master' of https://github.com/guanzhi/GmSSL 2018-11-16 15:26:33 +08:00
Zhi Guan
9a999ae907 Add sm9 and paillier pem support 2018-11-16 15:26:30 +08:00
Zhi Guan
c9ec102cbd Merge pull request #574 from zzclzxc/master
fix sm3 padding bug
2018-11-13 13:54:09 +08:00
Zhi Guan
676076278d Update some demos 2018-10-31 11:03:21 +08:00
Zhi Guan
9eadfd4cb6 Update CPK sub-lib
Use simple NID as arguments, and fix some bugs
2018-10-21 19:43:40 +08:00
Zhi Guan
6fe883cd3a Add is_gmssl.h
Add code `#include <openssl/is_gmssl.h>` to check if GmSSL library is linked instead of the system pre-installed OpenSSL library.
2018-10-20 11:05:29 +08:00
Zhi Guan
f411936f9f Update version to 2.4.0
Since this version SM9 is offically supported.
2018-10-13 21:47:14 +08:00
Zhi Guan
5293d0f38d Update SM9 key agreement 2018-10-12 12:07:58 +08:00
Zhi Guan
989bc7638d First SM9 release
SM9 setup/keygen/sign/verify has been tested. See example codes `demos/sm9/`.
2018-10-10 20:42:07 +08:00