Commit Graph

159 Commits

Author SHA1 Message Date
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
Zhi Guan
f07ca5eeff Update SM9 encrypt 2018-10-06 17:04:25 +08:00
Zhi Guan
a7b96e8024 Add SM9 encapsulate key functions 2018-10-05 11:53:13 +08:00
Zhi Guan
eaf4002536 Update version number
2.3.3 is the first release to support SM9, setup/keygen/sign are supported, kem/encrypt/keyagree to be continue.
2018-09-29 11:56:35 +08:00
Zhi Guan
b54a3d35e6 Update SM9 schemes
Update SM9 schemes based on the default sm9bn256v1 r-ate pairing. To be continued.
2018-09-28 22:21:44 +08:00
Zhi Guan
c7aa2cc1ff A workable SM9 R-ate pairing over BN curve
This textbook version R-ate pairing is very slow. About 0.5 seconds on my Macbook Pro 2018 with 2.7 GHz Core i7.
2018-09-21 22:42:11 +08:00
Zhi Guan
e789127a9a Add SM9 BN curve sm9bn256v1 over GF(p)
The recommended BN curve over 256 -bit prime field. The OID of the curve might be modified in the future.
2018-09-13 15:58:53 +08:00
Zhi Guan
9176532a2e Update version date with new pkcs8 features 2018-09-08 10:41:17 +08:00
Zhi Guan
4b17502fdd Optimize sm2p256v1 curve for Intel processors
This update is part of the GmSSL Turbo project.
This work is supported by the National Key Research and Development
Program of China NO.2018YFB0803601 and Intel.
2018-09-07 08:55:36 +08:00
zhaoxincheng
41049aa0cd fix sm3 padding bug 2018-08-30 16:37:25 +08:00
SophieK
e2698c9572 Update skf_int.h 2018-07-05 08:49:47 +08:00
zhaoxiaomeng
8792c7081f [bugfix] fix error code duplication 2018-05-23 10:36:09 +08:00
zhaoxiaomeng
b5c3ca23b4 [bugfix] fix bitslice bug 2018-05-23 10:19:55 +08:00
CXdickens
7c0ddf2e44 add SMS4 bit slice
16X SMS4 a time
2018-05-21 15:17:54 +08:00
Zhi Guan
96c0c86cd4 Fixed aes prototype 2018-04-06 17:07:12 +08:00
Zhi Guan
a94e307888 Add SDF pkey encrypt/decrypt support 2018-03-30 19:51:49 +08:00
Zhi Guan
92971350c4 Add GMTLS v1.1 protocol support
Aka GM/T 0024-2012 SSL VPN protocol
2018-03-22 13:09:02 +08:00
Zhi Guan
7b32723196 Update with a new version number
This update brings the PHP binding of GmSSL through the PHP OpenSSL
extension.
2018-03-13 12:55:29 +08:00
Zhi Guan
0f0d392760 Update SDF header 2018-03-13 12:43:01 +08:00
Zhi Guan
25d4ff1afb Fix SDF vendor feature 2018-01-26 23:56:18 +08:00
Zhi Guan
86e1fc9266 API compatible with OpenSSL before version 1.1.0
Add BN_init() and CRYPTO_num_locks(), compatible with OpenSSL 0.9.8.
And change the default OpenSSL API to 1.1.0.
2018-01-07 12:02:03 +08:00
Simon
38395c5c80 Revert "quantum init"
This reverts commit 53af3b51ae.
2018-01-04 14:03:38 +08:00
zhaoxiaomeng
53af3b51ae quantum init 2018-01-04 13:40:59 +08:00
Zhi Guan
d11f845fde Update version to 2.1.0
The affected headers are `<openssl/zuc.h>` and `<openssl/evp.h>`.
2018-01-03 15:28:58 +08:00
Zhi Guan
c41e135604 Update ZUC algorithm with EVP module
128-EEA3, 128-EIA3, byte-order and tests need to be updated.
2018-01-03 15:26:09 +08:00
Zhi Guan
86aa61c0b6 minor changes 2017-12-26 22:59:32 +08:00
Zhi Guan
a9b31e17a5 wrap optional headers with OPENSSL_NO_ macro 2017-12-26 22:51:47 +08:00
Zhi Guan
e586232c5b fix BOOL bug in sgd.h 2017-12-08 20:23:24 +08:00
Zhi Guan
cd306d7c40 2.0 release 2017-12-08 11:17:55 +08:00
Zhi Guan
46ee9a4559 add license 2017-12-08 10:46:58 +08:00
Zhi Guan
f5a3f271a3 v2 pre-release 2017-12-07 23:58:48 +08:00
Zhi Guan
a4e6eea2fa tls12 with sm2 cert 2017-12-01 20:28:39 +08:00
Zhi Guan
5bdb3e20ff update sm9 api 2017-11-30 00:03:57 +08:00
Zhi Guan
aa97769318 update curve wapip192v1 OID 2017-11-27 12:36:32 +08:00
Zhi Guan
ed7bf9302f remove java from config 2017-11-25 16:43:19 +08:00
Zhi Guan
2458fcb879 speed sm2/3/4
`gmssl speed sm2 sm3 sms4`
2017-11-25 13:22:04 +08:00
Zhi Guan
4d60905e04 add sm3/sms4 to speed 2017-11-13 15:38:49 +08:00
Zhi Guan
27bde477a5 first step of v2 final release 2017-11-05 21:00:36 +08:00
zhaoxiaomeng
2ebf8ad9f0 [crypto] fix no-base58 2017-07-10 16:35:06 +08:00
[GGSuchao]
fe0bb34dd8 update sm_standard 2017-07-10 14:51:03 +08:00
[GGSuchao]
3aa8a1ef9a update sm_standard 2017-07-10 14:51:03 +08:00
zhaoxiaomeng
44890ced92 [crypto] move sms4_standard and zuc to engine dir 2017-07-09 14:47:06 +08:00