Commit Graph

838 Commits

Author SHA1 Message Date
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
43bec77d15 Update sm4test.c
Add tests for all APIs
2022-07-26 22:33:22 +08:00
Zhi Guan
bbd9d01e49 Update sm3test.c 2022-07-26 22:33:02 +08:00
Zhi Guan
924b6c4317 Update sm2test.c 2022-07-26 22:32:51 +08:00
Zhi Guan
94e80f8cd0 Update sm4test.c 2022-07-26 00:06:38 +08:00
Zhi Guan
9f5f9c8f16 Fix reqgen -L bug 2022-07-25 17:09:56 +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
8818e72f17 Merge branch 'develop' of https://github.com/guanzhi/GmSSL into develop 2022-05-29 18:10:45 +08:00
Zhi Guan
19ea6fdf92 Update Tools 2022-05-29 18:10:41 +08:00
Simon
24c2f74533 Update CMakeLists.txt 2022-05-27 20:55:17 +08:00
Zhi Guan
767dae98ab Update Tools 2022-05-26 23:57:32 +08:00
Simon
9eee1cc35d Update CMakeLists.txt (#1237)
* Update CMakeLists.txt

* Update sm2sign.c

* Update sm2sign.c

* Update CMakeLists.txt
2022-05-26 19:55:53 +08:00
Simon
78fc9d83fe Update README.md 2022-05-25 19:57:42 +08:00
Simon
83fddaf98e Update README.md 2022-05-25 19:56:15 +08:00
Simon
4f5916dadc Create cygwin.yml 2022-05-25 07:33:12 +08:00
Zhi Guan
11c526b053 Update Tools 2022-05-23 21:00:14 +08:00
Zhi Guan
139f743f98 Update sm9demo.sh 2022-05-23 11:41:26 +08:00
Zhi Guan
d7a96e3ba1 Update Public API 2022-05-23 09:42:08 +08:00
Zhi Guan
252839e196 Update mem.h 2022-05-20 17:00:30 +08:00
Zhi Guan
d649643d4b Add SM9 tools 2022-05-20 16:56:50 +08:00
Zhi Guan
13a3651f29 Update SM9 2022-05-20 11:33:31 +08:00
Zhi Guan
e07864755f Merge pull request #1221 from Gorachya/develop
Add tests & Bug fixed
2022-05-20 11:10:46 +08:00
Gorachya
c71c247fc8 Add files via upload 2022-05-17 17:55:59 +08:00
Gorachya
502bfd11c2 Add files via upload 2022-05-17 17:55:29 +08:00
Gorachya
b6685304aa Add files via upload 2022-05-17 17:55:05 +08:00
Zhi Guan
ed88f79221 Merge pull request #1219 from Gorachya/develop
Fill functions & Bugs fixed & Add test
2022-05-15 15:18:24 +08:00
Gorachya
477306b37d Update sm9_lib.c 2022-05-15 14:43:58 +08:00
Gorachya
23beaddb9f Update sm9.h 2022-05-15 14:40:03 +08:00
Gorachya
d1da753ec2 Update sm9_alg.c 2022-05-15 14:38:44 +08:00
Gorachya
c44a8e4de6 Add files via upload 2022-05-15 14:25:41 +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
Zhi Guan
b2c48e7a4a Merge pull request #1217 from Gorachya/develop
Add sm9_fn math functions
2022-05-14 17:03:06 +08:00
Wardcore
346d649c33 将sm3.c中的全局变量K使用static隐藏 2022-05-13 20:45:14 +08:00
Gorachya
890280dbbe Update sm9test.c 2022-05-13 20:04:20 +08:00
Gorachya
c7dbaa883d Add files via upload 2022-05-13 20:01:33 +08:00
Gorachya
4d829432d8 Add files via upload 2022-05-13 20:01:16 +08:00
Gorachya
6d089c5067 Add files via upload 2022-05-13 20:01:02 +08:00
Zhi Guan
8a07619eea Update SM9 2022-05-13 18:10:25 +08:00