Commit Graph

115 Commits

Author SHA1 Message Date
Chengyu Ma
ca63735cbc Merge branch 'guanzhi:master' into master 2022-10-19 22:56:00 +08:00
Zhi Guan
085a4d1310 Add SM2 ElGamal 2022-10-19 21:31:48 +08:00
Zhi Guan
f906d1c44f Add SM2RECOVER 2022-10-19 21:12:11 +08:00
Chengyu Ma
b26fb03c27 optimize sm9 miller loop 2022-10-18 18:32:18 +08:00
Zhi Guan
8177f87d84 Add SM4 GPU implementation 2022-10-18 14:32:27 +08:00
Zhi Guan
774588562e Add Linux RNG 2022-10-15 22:09:06 +08:00
Zhi Guan
3e909da42c Add Apple RNG 2022-10-15 22:08:59 +08:00
Zhi Guan
b419a96114 Add SM4 AESNI+AVX implementation 2022-10-15 17:24:15 +08:00
Zhi Guan
a80ead7e04 Add SM3 ASM 2022-10-15 16:42:35 +08:00
Zhi Guan
a9c5e99192 Remove warnings 2022-10-14 17:39:17 +08:00
Zhi Guan
5e2381f122 Remove warnings 2022-10-13 17:45:06 +08:00
Zhi Guan
53cb1fbee0 Update pbkdf2.c
Bug fixed
2022-10-13 16:16:54 +08:00
Zhi Guan
dbc5b316b5 Remove warnings 2022-10-13 16:16:42 +08:00
toorls
a959ee8bf6 fix asn1 time bug on windows 2022-10-12 06:24:38 -07:00
toorls
f23c89f0b7 fix asn1test on windows 2022-10-12 06:05:55 -07:00
Zhi Guan
e25f8b945e Fix MSVC warnings 2022-10-12 18:05:05 +08:00
Zhi Guan
50cefed24a Remove ZUC warnings 2022-10-12 15:26:52 +08:00
Zhi Guan
68e4207b25 Fix RC4 bug 2022-10-12 15:26:40 +08:00
Zhi Guan
d17c7d33d5 Remove warnings 2022-10-12 15:26:16 +08:00
Zhi Guan
47639d439e Remove warning 2022-10-12 14:36:11 +08:00
Zhi Guan
aa217583ee Update hash_drbg.c 2022-10-12 14:14:30 +08:00
Zhi Guan
b6e4bc1309 Remove warning of hashes 2022-10-12 14:03:10 +08:00
Zhi Guan
56245ab663 Update rdrand.c 2022-10-12 11:26:54 +08:00
Zhi Guan
34a8a99d43 Fix tests on DLL 2022-10-12 11:10:35 +08:00
Zhi Guan
55318e8f59 Update sm3.c 2022-10-12 08:52:38 +08:00
Zhi Guan
c6c0162c25 Update SM3
Safe call to sm3_compress_blocks
2022-10-11 16:34:13 +08:00
Zhi Guan
6faeb627ed Fix Visual Studio related bugs 2022-10-09 12:55:32 +08:00
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