Commit Graph

699 Commits

Author SHA1 Message Date
Zhi Guan
ec94c930b3 Add TLCP demos 2022-08-01 15:58:39 +08:00
Zhi Guan
b0807931c9 Add SM2 demos 2022-07-31 22:39:27 +08:00
Zhi Guan
fa7b6a6b06 Add sm3 demos and sm3_hmac bug fix 2022-07-31 21:25:03 +08:00
Zhi Guan
4ab269919d Add SM4 demos 2022-07-31 18:47:07 +08:00
Zhi Guan
28ccbe57cc Add args checking to GCM mode 2022-07-31 18:08:46 +08:00
Zhi Guan
9119293ea2 Merge branch 'develop' of https://github.com/guanzhi/GmSSL into develop 2022-07-31 09:56:13 +08:00
Zhi Guan
e6c2034c82 Fix TLS 1.3 protocol spec errors 2022-07-31 09:55:48 +08:00
Simon
944a8ffb9e 修改COPYRIGHT 2022-07-30 08:34:42 -07: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
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