Commit Graph

425 Commits

Author SHA1 Message Date
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
Zhi Guan
a4e6eea2fa tls12 with sm2 cert 2017-12-01 20:28:39 +08:00
Zhi Guan
fce92f70cc Update README.md 2017-11-30 01:16:37 +08:00
Zhi Guan
64dda272a1 Update README.md 2017-11-30 00:43:30 +08:00
Zhi Guan
f53c6b1cfd update ssl 2017-11-30 00:04:10 +08:00
Zhi Guan
5bdb3e20ff update sm9 api 2017-11-30 00:03:57 +08:00
Zhi Guan
7be7ce60dc update ssl 2017-11-29 20:01:07 +08:00
Simon
d249929e81 [bugfix]fix double free bug 2017-11-28 17:12:43 +08:00
Zhi Guan
a6157e799a update readme 2017-11-27 20:19:15 +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
e1c639160b fix java 2017-11-05 21:04:20 +08:00