Commit Graph

144 Commits

Author SHA1 Message Date
Zhi Guan
833150f297 Reomve sm3 from lms/hss names 2025-12-07 22:08:17 +08:00
Zhi Guan
6a51ca01dc Add SM3 LMS/HSS hash-based post-quantum signatures 2025-12-04 11:46:16 +08:00
Zhi Guan
228f78963c Update sdfsign.c 2024-07-18 21:37:34 +08:00
Zhi Guan
ae27f45d16 Update sdfdecrypt.c 2024-07-18 21:13:02 +08:00
Zhi Guan
e7354c1faa Add SM4-ECB/CFB/OFB tests to sdftest 2024-06-22 16:06:21 +08:00
Zhi Guan
19a4b6894f Update tlcp_client.c 2024-06-13 12:16:12 +08:00
Zhi Guan
f575ea2c91 Update sdf.h 2024-06-09 16:51:26 +08:00
Zhi Guan
830c96c5c7 Add sdfdecrypt command 2024-06-09 15:45:40 +08:00
Zhi Guan
9784bbc380 Add sdfencrypt command 2024-06-09 11:17:54 +08:00
Zhi Guan
368f2e5bdc Add sdfdigest command 2024-06-08 12:03:25 +08:00
Zhi Guan
3614daf6a6 Fix sdftest command bugs 2024-06-08 10:35:38 +08:00
Zhi Guan
c4e5cf0deb Add sdfsign command 2024-06-07 19:45:10 +08:00
Zhi Guan
4363740477 Add sdfinfo and sdfexport command 2024-06-06 22:07:44 +08:00
Zhi Guan
6f5cfa6382 Use same speed test data size 2024-06-05 21:33:58 +08:00
Zhi Guan
b0348bed8e Add speed tests to sdftest command 2024-06-05 12:30:57 +08:00
Zhi Guan
76312df4d6 Clean code 2024-05-31 21:02:04 +08:00
Zhi Guan
a46c6a85fc Update sdftest.c 2024-05-25 21:24:23 +08:00
Zhi Guan
39af190b9b Convert utf-8 files to ascii 2024-05-25 18:29:11 +08:00
Zhi Guan
77fa479e38 Add help to tools 2024-05-24 11:31:42 +08:00
Zhi Guan
ec16879fd8 Remove warnings 2024-05-23 17:29:45 +08:00
Zhi Guan
8a52a2137d Add examples to tools 2024-05-20 22:55:58 +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
Zhi Guan
ba166948db Update sm4_cbc_sm3_hmac.c 2024-05-14 10:08:03 +08:00
Zhi Guan
ec4396cdb5 Fix SM4 CFB bug when in==out, add option -sbytes to command 2024-05-14 10:07:59 +08:00
Zhi Guan
1e2b75ff1a Update gmssl help 2024-05-13 21:44:48 +08:00
Zhi Guan
e17df320be Remove cl building warnings 2024-05-13 15:52:59 +08:00
Zhi Guan
dc80b0c137 Change cpu suffix and other file names 2024-05-12 23:17:35 +08:00
Zhi Guan
58340393b1 Add SM4 commands in gmssl CLI 2024-05-11 18:10:24 +08:00
Zhi Guan
f11cf530d3 Add sm4_ctr gmssl option 2024-05-10 22:06:27 +08:00
Zhi Guan
3f1fdc147a Add sm2_encrypt_pre_compute 2024-04-25 16:34:03 +08:00
Zhi Guan
f8fbeddd4f Add SM2_VERIFY_CTX 2024-04-25 08:40:39 +08:00
Simon
350e91af0a 修复Windows编译的问题。
将Windows CI单独拿出来。在Windows环境下编译需要在cmake的时候增加-DWIN32=ON参数。
2024-04-20 12:23:30 +08:00
Zhi Guan
8cb306ad0b Adjust SM3 SM4 API
Remove sm3_digest. Use more _gmssl_export
2024-04-19 18:32:06 +08:00
Zhi Guan
725817add9 Use sm3_pbkdf2 without digest API 2024-04-19 13:21:52 +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
afed7a0ecb Make SDF/SKF optional in CMake 2024-04-15 08:49:16 +08:00
Zhi Guan
ef03ddc680 Restore the original sm9 header file name. 2024-04-14 11:15:05 +08:00
Zhi Guan
b777fbafdb Re-organize SM4/GCM related source files 2024-04-11 22:19:50 +08:00
Zhi Guan
e4502ddd24 XTS use new GF(2^128) API 2024-04-11 18:02:46 +08:00
Gorachya
4c947e2a40 Add files via upload 2024-03-13 15:45:15 +08:00
Zhi Guan
33baa3df92 Update SM2 2024-03-10 22:34:43 +08:00
Zhi Guan
449e1b54a2 Update sm4.c 2024-02-22 11:15:09 +08:00
Zhi Guan
79a6437c8c Update sm4 tool to support more modes
Not finish yet
2024-02-21 09:24:22 +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
24783e56ed Minor update TLS client tools 2024-02-05 18:14:34 +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
31efcb5d87 Add encrypt/decrypt to sm2_ctx.c 2024-01-07 17:26:29 +08:00