Commit Graph

43 Commits

Author SHA1 Message Date
Zhi Guan
d892853faa Convert utf-8 files to ascii 2024-05-25 21:24:15 +08:00
Zhi Guan
d719ee4862 Conv from UTF-8 to ASCII
`file *.c` to see file types (ASCII or UTF-8), convert UTF-8 (with BOM) to ASCII

```sh
sed '1s/^\xEF\xBB\xBF//'  sm4.c | iconv -f UTF-8 -t ASCII//TRANSLIT > temp.c
mv temp.c sm4.c
```
2024-05-25 18:06:16 +08:00
Zhi Guan
d56eeaac5a Remove warnings 2024-05-17 13:12:51 +08:00
Zhi Guan
e9bbcf5490 Use z256 and jacobian coordinates as inner presentation of SM2 point 2024-04-18 21:27:00 +08:00
Zhi Guan
b58ea74f96 Fix tls_recv buffer overflow bug 2024-02-06 22:01:33 +08:00
Zhi Guan
69ffa88037 Fix TLS Alert
Alert, ChangeCipherSpec record should be encrypted after handshake
2024-02-06 20:57:27 +08:00
Zhi Guan
9f2bfb5ad0 Add more options to TLS
add `-get` and `-quiet` option to `tlcp_client`
2024-02-05 17:01:09 +08:00
Zhi Guan
9cfc64d34b Change tls_named_curve_name to tls_curve_name 2024-02-04 11:40:58 +08:00
Zhi Guan
68447f036f Update alert in tls.c 2024-01-31 21:37:53 +08:00
Zhi Guan
dc4c21f4ec Make AES optional and remove "Public API" from headers 2023-12-17 16:52:42 +08:00
Zhi Guan
04cbd81651 Update CMakeLists.txt
both CMakeLists.txt and source use ENABLE_XXX
2023-12-17 16:33:51 +08:00
Zhi Guan
e77aeffc21 Update CMake 2023-02-15 11:59:05 +08:00
Zhi Guan
bae6721afa Add socket wrapper 2022-11-01 17:57:31 +08:00
Zhi Guan
87081c4ca4 Revert "Add socket wrapper"
This reverts commit 85e745121f.
2022-11-01 17:51:26 +08:00
Zhi Guan
85e745121f Add socket wrapper 2022-11-01 17:49:48 +08:00
Zhi Guan
dbc5b316b5 Remove warnings 2022-10-13 16:16:42 +08:00
Zhi Guan
e25f8b945e Fix MSVC warnings 2022-10-12 18:05:05 +08:00
Zhi Guan
6c169aab65 Update tls.h 2022-10-07 21:17:31 +08:00
Zhi Guan
5e38788659 Add Windows and Visual Studio support 2022-10-03 11:36:03 +08: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
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
e6c2034c82 Fix TLS 1.3 protocol spec errors 2022-07-31 09:55:48 +08:00
Zhi Guan
801d896d5a Fix tls_do_recv bug and update SSL clients 2022-07-29 17:13:10 +08:00
Zhi Guan
5dadb639a8 Update Makefile and code style in tests 2022-07-28 16:42:54 +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
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
7e4dd76839 update 2022-04-11 17:56:25 +08:00
Zhi Guan
becaed76fa update 2021-09-10 11:33:48 +08:00
Zhi Guan
bcad2eb8dd update 2021-09-10 11:29:16 +08:00
Zhi Guan
ae001fbf15 utf8 + bom 2021-08-04 22:07:50 +08:00
Zhi Guan
a57193836b add sdf and skf 2021-08-03 17:09:35 +08:00
Zhi Guan
2ecba70472 remove old api 2021-07-31 22:07:25 +08:00
Zhi Guan
62d1899760 tls 1.3 init 2021-07-28 16:32:10 +08:00
Zhi Guan
0af5775be3 Init commit of gmssl-v3 2021-07-13 19:21:43 +08:00