Commit Graph

458 Commits

Author SHA1 Message Date
Zhi Guan
ebd186d01d Update GmSSL-Go 2018-08-06 20:51:29 +08:00
Zhi Guan
962f7fbe3e Merge pull request #548 from liclicli/master
fix: zero length NULL should be able to be used for sm3 digest update.
2018-08-05 13:33:58 +08:00
Zhi Guan
28d524dd71 Add Go hash.Hash interface for SM3 2018-08-04 21:33:00 +08:00
Zhi Guan
abedd1b0f4 update go-api
GetDigestNames() and GetCipherNames get supported algorithms with
callbacks.
2018-08-04 20:27:43 +08:00
LI Chen
88293ffd8c fix: zero length NULL can not be used for sm3 digest update. 2018-07-23 10:09:16 +08:00
Zhi Guan
9d6ad55623 Add Go API test 2018-07-15 15:36:58 +08:00
Zhi Guan
27940499bc Update Go API to version 1.2
Add Certificate Object, support parse, check and access (very limited)
attributes of an X.509 certificate in PEM format.
2018-07-15 10:54:52 +08:00
Zhi Guan
a0e5d103ba optimize zuc 2018-07-07 00:23:44 +08:00
Zhi Guan
83c62961db Revert "optimize zuc"
This reverts commit 74d4a07ade.
2018-07-06 23:13:33 +08:00
Zhi Guan
74d4a07ade optimize zuc
about 15% faster on 64-bit cpu
2018-07-06 23:07:32 +08:00
Zhi Guan
afb82ebc20 add sm2 prime 256 test 2018-07-06 17:30:31 +08:00
Simon
0adf4ce188 Delete SM4_bit_slice.md 2018-05-27 21:56:20 +08:00
CXdickens
689f65db59 SM4_bit slice comment 2018-05-27 21:37:17 +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
zhaoxiaomeng
473eb5ffe4 [bugfix] fix bitslice bug 2018-05-23 09:48:01 +08:00
CXdickens
7c0ddf2e44 add SMS4 bit slice
16X SMS4 a time
2018-05-21 15:17:54 +08:00
Simon
58464004c9 Update sm3.c 2018-04-24 18:25:53 +08:00
Zhi Guan
96c0c86cd4 Fixed aes prototype gmbrowser-v0.1 2018-04-06 17:07:12 +08:00
Zhi Guan
a7cb7fa004 Update Go API 2018-04-01 19:37:39 +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
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