Zhi Guan
09e2d791a8
Merge pull request #970 from Trisia/master
...
[bug fix] 修复了ECC_SM4_SM3套件在秘钥交换过程中的错误
2020-07-27 11:44:38 +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
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
343fa622ae
Remove chinese comments
2019-01-14 18:52:54 +08:00
Zhi Guan
9b5eaab86a
some bug fix
2018-12-06 22:12:05 +08:00
Zhi Guan
9ca519edfa
Update SM9 decrypt
...
to be tested
2018-10-06 17:33:34 +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
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
056130c053
fix ssl bugs
2018-03-13 12:44:00 +08:00
Zhi Guan
2c2739c9e2
bug fix
2017-12-08 21:29:23 +08:00
Zhi Guan
46ee9a4559
add license
2017-12-08 10:46:58 +08:00
Zhi Guan
a4e6eea2fa
tls12 with sm2 cert
2017-12-01 20:28:39 +08:00
Zhi Guan
f53c6b1cfd
update ssl
2017-11-30 00:04:10 +08:00
Zhi Guan
7be7ce60dc
update ssl
2017-11-29 20:01:07 +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
Zhi Guan
eb21e9d572
update
2017-04-14 15:31:38 +08:00
Zhi Guan
43fed1108d
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# README.md
2017-02-14 16:13:11 +08:00