Commit Graph

88 Commits

Author SHA1 Message Date
Zhi Guan
4fa67db948 Add WIN32 rand 2022-10-07 20:53:38 +08:00
Zhi Guan
1a3158d559 remove files 2022-10-07 20:41:59 +08:00
Zhi Guan
58fda1f721 Fix Visual Studio compiling errors 2022-10-06 14:23:30 +08:00
Zhi Guan
74fbb19f13 Update Windows support 2022-10-05 11:12:06 +08:00
Zhi Guan
5e38788659 Add Windows and Visual Studio support 2022-10-03 11:36:03 +08:00
Zhi Guan
4285da7b6a Update aes_modes.c 2022-09-23 17:43:20 +08:00
toorls
db06ccff49 fix ctr mode counter, add ctr test 2022-09-06 05:34:27 -07:00
Simon
60c3c33116 license 2022-08-28 19:12:50 +08:00
Simon
4e5880e2ea Revert "修改License"
This reverts commit 0b4308b948.
2022-08-26 13:44:26 +08:00
Simon
0b4308b948 修改License 2022-08-25 22:42:11 -07:00
s-s-L-L
20ed2db606 fix cbc bug 2022-08-24 12:56:53 +08:00
Gorachya
aef77e54ab Update sm9_lib.c 2022-08-22 16:24:07 +08:00
Simon
36f6a6d4d3 COPYRIGHT 2022-08-08 05:46:54 -07:00
zhaoxiaomeng
c2dacaae46 修改copyright
This reverts commit 7de8e1d83d.
2022-08-08 20:14:44 +08:00
Simon
7de8e1d83d 修改copyright 2022-08-08 05:11:52 -07:00
Zhi Guan
ec94c930b3 Add TLCP demos 2022-08-01 15:58:39 +08:00
Zhi Guan
fa7b6a6b06 Add sm3 demos and sm3_hmac bug fix 2022-07-31 21:25:03 +08:00
Zhi Guan
28ccbe57cc Add args checking to GCM mode 2022-07-31 18:08:46 +08:00
Zhi Guan
e6c2034c82 Fix TLS 1.3 protocol spec errors 2022-07-31 09:55:48 +08:00
Zhi Guan
605026da08 Fix tls13_server tls13_send bug 2022-07-30 11:46:56 +08:00
Zhi Guan
b7f8c5113d Fix SSL clients logic bug 2022-07-29 23:02:02 +08:00
Zhi Guan
801d896d5a Fix tls_do_recv bug and update SSL clients 2022-07-29 17:13:10 +08:00
Zhi Guan
6a5eef05d5 Use select in TLCP client
Example of `tlcp_client`

```
$ gmssl tlcp_client -host ebssec.boc.cn
Connection established!
GET / HTTP/1.1[enter]
Host: localhost[enter]
[enter]
[enter]
```
2022-07-29 11:59:25 +08:00
Zhi Guan
5dadb639a8 Update Makefile and code style in tests 2022-07-28 16:42:54 +08:00
Zhi Guan
f1da2d5528 Support domain name in SSL clients 2022-07-27 19:10:02 +08:00
Zhi Guan
cda0fae675 Update version to beta
Fix the record_do_recv bug and update version
2022-07-27 17:50:01 +08:00
Zhi Guan
bb1dea9160 Update TLCP client
set optional CA certs and client keys
tlcp_client can correctly connect  https://ebssec.boc.cn, https://zffw.jxzwfww.gov.cn

Bugs:
send, recv return value.
handle input when connected.
2022-07-26 22:36:33 +08:00
Zhi Guan
f49d465b42 Update demos, asn.1 bug fix 2022-07-25 16:48:45 +08:00
Zhi Guan
08dd20b70f Update TLS 1.3 2022-07-25 14:15:41 +08:00
Zhi Guan
15fd0dbcd4 TLS 1.3 client auth 2022-07-24 23:35:45 +08:00
Zhi Guan
89f57327aa TLS 1.3 server auth only 2022-07-20 16:42:32 +08:00
Zhi Guan
48e0178837 Update TLS 1.2 2022-06-13 22:17:53 +08:00
Zhi Guan
79182e93eb Fix bug 2022-06-12 08:58:19 +08:00
Zhi Guan
5eaab7033d Update TLCP 2022-06-11 23:50:54 +08:00
Zhi Guan
f754b1222d Update TLCP 2022-06-05 22:35:08 +08:00
Zhi Guan
19ea6fdf92 Update Tools 2022-05-29 18:10:41 +08:00
Zhi Guan
767dae98ab Update Tools 2022-05-26 23:57:32 +08:00
Zhi Guan
11c526b053 Update Tools 2022-05-23 21:00:14 +08:00
Zhi Guan
d7a96e3ba1 Update Public API 2022-05-23 09:42:08 +08:00
Zhi Guan
13a3651f29 Update SM9 2022-05-20 11:33:31 +08:00
Gorachya
502bfd11c2 Add files via upload 2022-05-17 17:55:29 +08:00
Gorachya
477306b37d Update sm9_lib.c 2022-05-15 14:43:58 +08:00
Gorachya
d1da753ec2 Update sm9_alg.c 2022-05-15 14:38:44 +08:00
Zhi Guan
4e3992d3f0 Update SM9 2022-05-15 14:06:29 +08:00
Zhi Guan
da5de7be67 Merge pull request #1218 from Wardcore22/develop
将sm3.c中的全局变量K使用static隐藏
2022-05-14 17:05:50 +08:00
Wardcore
346d649c33 将sm3.c中的全局变量K使用static隐藏 2022-05-13 20:45:14 +08:00
Gorachya
4d829432d8 Add files via upload 2022-05-13 20:01:16 +08:00
Zhi Guan
8a07619eea Update SM9 2022-05-13 18:10:25 +08:00
Gorachya
12c28a1cae Add files via upload 2022-05-12 20:38:13 +08:00
Zhi Guan
826735b270 Merge branch 'develop' of https://github.com/guanzhi/GmSSL into develop 2022-05-11 22:29:18 +08:00