Commit Graph

701 Commits

Author SHA1 Message Date
David Liu
f0dc2dce5e Update stale.yml (#1060)
exempt official label
2021-01-24 12:29:12 +08:00
Yuxiang LIU
d1dff53949 Update stale.yml (#1020) 2020-09-25 22:30:32 +08:00
Yuxiang LIU
967b0335aa Create stale.yml (#1007)
Signed-off-by: davidliu <david-khala@hotmail.com>
2020-08-24 21:46:10 +08:00
Zhi Guan
09e2d791a8 Merge pull request #970 from Trisia/master
[bug fix] 修复了ECC_SM4_SM3套件在秘钥交换过程中的错误
2020-07-27 11:44:38 +08:00
J.F
d4420f3876 Add GM double cert support in s_client (#996)
Add dcert and dkey cli args for s_client
2020-07-25 10:28:49 +08:00
Yuxiang LIU
a15b215389 Update .travis.yml (#990)
According to [Ubuntu Release](https://wiki.ubuntu.com/Releases) 
End of Standard Support of `trusty` is April 2019
We should bump to Ubuntu 16.04.6 LTS "xenial"
2020-07-07 09:56:15 +08:00
Zhi Guan
59cf79cc2c Merge pull request #851 from J-Feng/master
Uninitialized variable `l` results in cert length mismatch error
2020-07-06 12:26:34 +08:00
wilson chen
76f8f14a6c Solve the problem of 972 issue (#974) 2020-06-21 10:08:39 +08:00
zhaoxiaomeng
8f69dec149 fix i2o_SM2CiphertextValue error 2020-06-19 05:19:40 -07:00
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
6c67d3a3cf Merge pull request #869 from xhawk18/master
bug fixed: no fixed order in map may cause GeneratePrivateKey error
2020-06-19 18:25:08 +08:00
Zhi Guan
cbe9a1fb41 Merge pull request #922 from nnabuuu/java_wrapper_fix
[bugFix] Fix java wrapper import issue by adding package name org.gmssl
2020-06-19 18:23:33 +08:00
Zhi Guan
6d764fa42c Merge pull request #856 from luohua-xyz/master
Compare SA and SB, instead of SA and itself
2020-06-19 16:15:17 +08:00
Zhi Guan
b56412da96 Merge pull request #888 from detailyang/patch-1
chore:correct typo
2020-06-19 16:12:24 +08:00
Zhi Guan
a57492c41c ZUC256 bug fix 2020-06-19 16:04:24 +08:00
Zhi Guan
5a000d0998 remove warnings 2020-06-19 15:56:33 +08:00
Zhi Guan
ec29454f1d add javascript sm9
pairing only, no identity-based schemes
2020-06-15 15:49:07 +08:00
Zhi Guan
281d6337f7 update javascript sm3 2020-06-15 15:48:27 +08:00
Zhi Guan
bfebb51a42 add javascript rng 2020-06-15 15:48:00 +08:00
cliven
1d495efebb 从BUG的发生处修改了证书长度问题 2020-06-04 15:55:11 +08:00
cliven
83c5ff2ffb 修复了ECC_SM4_SM3套件在秘钥交换过程中的错误
1. 签名使用SM2默认ID:1234567812345678,而不是证书使用者。
2. 修复了被签名的加密证书长度问题,证书有一个3Byte用于容纳长度的空间。在服务端的秘钥交换过程少了3Byte。
2020-06-04 14:33:19 +08:00
Zhi Guan
c20175f626 Update sm2.js 2020-05-30 11:47:13 +08:00
Zhi Guan
2929a689a3 Update JavaScript lib 2020-05-30 11:39:37 +08:00
Zhi Guan
644386fab6 Merge branch 'master' of https://github.com/guanzhi/GmSSL 2020-05-25 17:53:28 +08:00
Zhi Guan
e31dbde4c0 Update sm9test.c 2020-05-25 17:53:22 +08:00
Zhi Guan
d39a92d0e5 Add JavaScript API 2020-05-25 17:52:41 +08:00
piggypiggy
211b34e7b9 sm2_bmi2_bugfix (#961) 2020-05-20 00:12:26 +08:00
Xiaochen Nie
8505947e61 [bugFix] Fix java wrapper import issue by adding package name org.gmssl 2020-02-17 21:52:59 +08:00
Simon
c6bcd23be3 Merge pull request #907 from daviyang35/master
Fix sm9test_exch SKA verify error
2019-12-31 09:46:28 +08:00
daviyang35
78254de2ee Fix sm9test_exch SKA verify error 2019-12-25 14:27:01 +08:00
detailyang
3d63d0e261 chore:correct typo 2019-11-19 14:44:00 +08:00
X-Hawk
3f36b039a2 bug fixed: memory leak in pkey.go 2019-10-23 16:03:09 +08:00
X-Hawk
eba487efd3 bug fixed: no fixed order in map, which may cause GeneratePrivateKey throw an error. 2019-10-21 21:42:54 +08:00
luohua-xyz
c3098d8d4f Merge pull request #1 from luohua-xyz/luohua-xyz-patch1
Compare SA and SB, instead of SA and itself
2019-09-27 15:54:30 +08:00
luohua-xyz
84acb277e9 Compare SA and SB, instead of SA and itself 2019-09-27 15:48:00 +08:00
Feng Jie
237f895ef1 Uninitialized variable l results in cert length mismatch error
An local var `l` in gmtls_construct_client_certificate is uninitialized,
which leads to an cert length mismatch error.

GMTLS handshake using SM2-WITH-SMS4-SM3 cipher suite will be failed due
to this issue.

My editor automatically removed some trailing spaces when I fixed this
bug. So some lines modified in `statem_gmtls.c` are insignificant.
Please ignore them.
2019-09-19 18:39:20 +08:00
Zhi Guan
a097e49719 Merge pull request #837 from Gorachya/master
speed-update
2019-09-06 16:08:52 +08:00
Gorachya
6011f0a81b speed-update 2019-09-06 16:05:59 +08:00
Gorachya
6ed1124625 speed-update 2019-09-06 15:48:13 +08:00
Gorachya
daa5001175 Merge pull request #7 from guanzhi/master
update
2019-09-06 15:28:19 +08:00
Zhi Guan
8e4e4ea7f2 Merge pull request #761 from yuanzh78/patch-2
Update s3_lib.c ssl_get_algorithm2()
2019-09-03 18:45:16 +08:00
Zhi Guan
5c7f6af399 Merge branch 'master' of https://github.com/guanzhi/GmSSL 2019-09-03 18:32:46 +08:00
Zhi Guan
54c7dc3442 Remove useless code 2019-09-03 18:32:27 +08:00
Zhi Guan
f861b98733 Merge pull request #760 from yuanzh78/patch-1
Update t1_lib.c
2019-09-03 18:31:32 +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