Commit Graph

438 Commits

Author SHA1 Message Date
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
187d2d6c2f Add gmca
gmca is a command line tool to make CA maintaining easier.
2018-03-13 14:20:39 +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
056130c053 fix ssl bugs 2018-03-13 12:44:00 +08:00
Zhi Guan
0f0d392760 Update SDF header 2018-03-13 12:43:01 +08:00
Zhi Guan
e124d150fa Fix bugs of evp/sm2 2018-03-13 12:41:46 +08:00
Zhi Guan
4b825edf3c Add some debug info 2018-03-13 12:26:17 +08:00
Zhi Guan
877b1d3d9c Bug fix 2018-03-12 18:18:26 +08:00
Zhi Guan
60b6e112c6 Add PHP Extension for GmSSL
View http://gmssl.org/docs/php-api.html for more info.
2018-03-04 11:14:47 +08:00
Zhi Guan
25d4ff1afb Fix SDF vendor feature 2018-01-26 23:56:18 +08:00
Zhi Guan
342603d169 Add SM2 Z value computation support for more APIs 2018-01-25 23:57:39 +08:00
Zhi Guan
32c343fc06 Compatible with SDF Engine
The SDF Engine might not malloc `ctx->md_data`.
2018-01-25 23:56:14 +08:00
Zhi Guan
4ae40d435b Support loading private keys from engine instead of file 2018-01-20 10:05:05 +08:00
Zhi Guan
755814db52 Fix SM2 certificate verification
Set the default ec_scheme to secg_scheme, add sm3 ZID to X.509
verification.
2018-01-11 23:37:28 +08:00
Mak Kolybabi
fd8da09d28 Grammar and spelling fixes. 2018-01-09 23:44:15 +08:00
Zhi Guan
496dfde33c Merge pull request #418 from zsdevX/patch-1
Update e_sms4.c
2018-01-09 00:04:45 +08:00
Zhi Guan
61f6b7ea98 Some warning fixes. 2018-01-07 12:02:24 +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
Zhi Guan
0803f0a034 FIx OPENSSL_NO_ASYNC macro
`apps/passwd.c` need to be modified when MD5 or DES is missing.
2018-01-05 13:44:39 +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
zs
be421a6c74 Update e_sms4.c 2018-01-03 16:53:24 +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
f4e43474ab Add CPK algorithm specification
The CPK module `crypto/cpk` need to be updated with this new
specification.
2018-01-02 20:43:21 +08:00
Zhi Guan
00f9c0fc37 Delete pod2htmd.tmp 2017-12-27 00:08:44 +08:00
Zhi Guan
86aa61c0b6 minor changes 2017-12-26 22:59:32 +08:00
Zhi Guan
735c0a5800 ffx bug fix 2017-12-26 22:59:18 +08:00
Zhi Guan
f87ae5dba7 sms4 evp bug fixes 2017-12-26 22:59:02 +08:00
Zhi Guan
b920f5af10 update zuc
with zuc_spec test passed
2017-12-26 22:57:54 +08:00
Zhi Guan
d8e57c5432 update build system 2017-12-26 22:57:23 +08:00
Zhi Guan
a9b31e17a5 wrap optional headers with OPENSSL_NO_ macro 2017-12-26 22:51:47 +08:00
Zhi Guan
58751e510e change version format
change version format to 2.major.minor, where major means API changes
2017-12-26 22:44:50 +08:00
Zhi Guan
2443ff48eb Fix SM2 sign/verify example
pkey sm2 sign/verify need a 32-byte digest as input
2017-12-13 18:30:32 +08:00
Zhi Guan
f5ac80af1d bug fix 2017-12-08 22:21:56 +08:00
Zhi Guan
2c2739c9e2 bug fix 2017-12-08 21:29:23 +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
276fddf9c2 update gitignore 2017-12-08 11:11:55 +08:00
Zhi Guan
46ee9a4559 add license 2017-12-08 10:46:58 +08:00
Zhi Guan
8d127b2440 Update README.md 2017-12-08 00:01:55 +08:00
Zhi Guan
f5a3f271a3 v2 pre-release 2017-12-07 23:58:48 +08:00
zhaoxiaomeng
a569601747 update 2017-12-06 18:22:26 +08:00
zhaoxiaomeng
0dcd2b6738 remove unused data 2017-12-06 18:20:20 +08:00
zhaoxiaomeng
65f9251dad fix sm9_func error 2017-12-06 18:02:11 +08:00
Zhi Guan
2bfa5d8223 Update README.md 2017-12-01 23:16:16 +08:00
Zhi Guan
cb3d98379b Update README.md 2017-12-01 23:15:39 +08:00
Zhi Guan
77b2805f6d Update README.md 2017-12-01 22:31:28 +08:00
Zhi Guan
17b6a680f2 Update README.md 2017-12-01 22:19:54 +08:00