Commit Graph

747 Commits

Author SHA1 Message Date
Zhi Guan
df950995e8 Update tlcp_commands.cmake 2024-06-02 13:15:32 +08:00
Zhi Guan
86d6284d9a Fix ctest gmssl path bug 2024-06-02 13:06:06 +08:00
Zhi Guan
c0f0ed0449 Add TLS 1.2 TLS 1.3 tests 2024-06-02 12:56:15 +08:00
Zhi Guan
cffee1dd9f Fix tls12, tls13 bug
目前TLS 1.2, 1.3的握手过程中使用了SM2_Z256_POINT,应该改为使用SM2_POINT,可以兼容其他曲线类型,只在做ECDH的时候才判断点的正确性。
2024-06-02 10:19:24 +08:00
Zhi Guan
e4c77d9108 Add more gmssl command tests 2024-06-01 18:11:20 +08:00
Zhi Guan
3d6c8d15a8 Add command test to CMakeLists.txt 2024-06-01 11:46:13 +08:00
Zhi Guan
76312df4d6 Clean code 2024-05-31 21:02:04 +08:00
Zhi Guan
26750fbb1d Add gf128_mul arm64 intrinsics 2024-05-31 21:01:49 +08:00
Zhi Guan
e9e2d27021 Merge pull request #1684 from maximluo/dev-sm2
move ENABLE_SM2_ENC_PRE_COMPUTE to CMakeLists as an option
2024-05-29 09:48:59 +08:00
Zhi Guan
5d7d5cb8b4 Merge pull request #1683 from maximluo/dev-vs
update .gitignore for ignoring VS project caches
2024-05-29 09:47:48 +08:00
Zhi Guan
31c26de865 Remove _gmssl_export 2024-05-29 09:40:03 +08:00
Zhi Guan
720a81262c Update README.md 2024-05-27 11:55:48 +08:00
Zhi Guan
aa89e39f03 Remove demos and docs 2024-05-25 23:23:53 +08:00
Zhi Guan
834fc0bd0c Remove demos 2024-05-25 23:19:46 +08:00
Zhi Guan
e172df55ca Remove demo scripts, use gmssl cmd -help 2024-05-25 23:10:55 +08:00
Zhi Guan
84d5d5c7c0 Delete sm4_tbox.c 2024-05-25 23:09:53 +08:00
Zhi Guan
29e826ae5d Update CMakeLists.txt to support CentOS 7 2024-05-25 21:24:46 +08:00
Zhi Guan
a46c6a85fc Update sdftest.c 2024-05-25 21:24:23 +08:00
Zhi Guan
d892853faa Convert utf-8 files to ascii 2024-05-25 21:24:15 +08:00
Zhi Guan
68fd02e2ac Convert utf-8 files to ascii 2024-05-25 18:45:23 +08:00
Zhi Guan
39af190b9b Convert utf-8 files to ascii 2024-05-25 18:29:11 +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
2117196cac Install gmssl.conf to /etc/ld.so.conf.d 2024-05-25 14:32:24 +08:00
Zhi Guan
b0373f3deb Update README.md 2024-05-25 09:57:43 +08:00
Zhi Guan
0d1ef16de0 Fix SM2_AMD64 2024-05-25 09:44:08 +08:00
Zhi Guan
cde0065241 Update SM4 AES-NI implementation 2024-05-24 21:38:14 +08:00
Zhi Guan
4076a30fa2 Update SM4 AVX2 8x implementation 2024-05-24 21:13:09 +08:00
Zhi Guan
ff4a478cce Update sm3_sse.c 2024-05-24 20:05:02 +08:00
Zhi Guan
1fd989303f Add SM2 X86_64 asm
Not working yet
2024-05-24 20:04:53 +08:00
Zhi Guan
32819490c7 Create sm2_z256_amd64.S 2024-05-24 16:16:07 +08:00
Zhi Guan
e2d4128ebe Update SM4 CE 2024-05-24 15:21:06 +08:00
Zhi Guan
77fa479e38 Add help to tools 2024-05-24 11:31:42 +08:00
luokai
475cb77829 move ENABLE_SM2_ENC_PRE_COMPUTE to CMakeLists as an option 2024-05-24 08:24:58 +08:00
luokai
587c876f0d update .gitignore for ignoring VS project caches
Supporting to use VS CMake feature to open the project without pre build to genereate .sln and ignore the VS CMake project caches
2024-05-24 08:23:04 +08:00
Zhi Guan
ec16879fd8 Remove warnings 2024-05-23 17:29:45 +08:00
Zhi Guan
4f21be027e Remove warnings 2024-05-23 17:12:53 +08:00
Zhi Guan
9d8da9c380 Update sm9_z256.c 2024-05-23 16:50:33 +08:00
Zhi Guan
b3707dbabf Update sm9_z256.c 2024-05-23 16:43:08 +08:00
Zhi Guan
f3ceaa4e4e Update sm2_z256.c 2024-05-23 16:43:05 +08:00
Zhi Guan
adc181fa91 Remove warnings 2024-05-23 16:28:54 +08:00
Zhi Guan
31dafbc65d Update README.md 2024-05-23 10:00:22 +08:00
Zhi Guan
1f5d653c58 Update README.md 2024-05-23 09:49:18 +08:00
Zhi Guan
8a52a2137d Add examples to tools 2024-05-20 22:55:58 +08:00
Zhi Guan
926e063353 Fix sm4-cbc iv related bug 2024-05-20 18:02:16 +08:00
Zhi Guan
e76b3fc3b1 Update pem.c 2024-05-19 19:02:04 +08:00
Zhi Guan
5520846c12 Update README.md 2024-05-17 16:21:36 +08:00
Zhi Guan
d56eeaac5a Remove warnings 2024-05-17 13:12:51 +08:00
Zhi Guan
7cc5b77cf8 Add sm4_xts and ghash command 2024-05-15 10:00:22 +08:00
Zhi Guan
8fb8dd05ab Add sm4_ccm command 2024-05-14 21:56:03 +08:00
Zhi Guan
f5ed971747 Update sm4_ctr_sm3_hmac.c 2024-05-14 10:08:05 +08:00