169 Commits
Author SHA1 Message Date
Zhi Guan 75155a4c37 Update version to 3.0.0 v3.0.0 2022-09-23 17:45:30 +08:00
Zhi Guan 4285da7b6a Update aes_modes.c 2022-09-23 17:43:20 +08:00
Zhi Guan 265c2cae29 Merge pull request #1311 from toorls/dev-v3
fix ctr mode counter, add ctr test
2022-09-07 22:51:11 +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
Simon 16b39da60b Create License file 2022-08-26 12:27:53 +08:00
Zhi Guan 17a306c6e9 Merge pull request #1298 from toorls/dev-v3
fix cbc bug
2022-08-25 15:01:12 +08:00
s-s-L-L 20ed2db606 fix cbc bug 2022-08-24 12:56:53 +08:00
Zhi Guan 8d957bbe70 Merge pull request #1297 from Gorachya/develop
Bug fixed
2022-08-23 09:24:16 +08:00
Gorachya 221007439b Update sm9test.c 2022-08-22 16:30:47 +08:00
Gorachya 495a5c731a Update sm9test.c 2022-08-22 16:24:52 +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 b1505a597f Fix sm3hmac tool bug 2022-08-04 11:05:41 +08:00
Zhi Guan 6c7876f6df Add SM9 demos 2022-08-01 17:27:25 +08:00
Zhi Guan 858f8f8833 Add ZUC demo 2022-08-01 15:59:23 +08:00
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