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
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
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