Commit Graph

197 Commits

Author SHA1 Message Date
Zhi Guan
9488128154 Add LMS key_update callback 2026-01-18 12:12:45 +08:00
Zhi Guan
47639a9e23 Add X509_KEY to support different public key algos 2026-01-16 17:25:17 +08:00
Zhi Guan
d7f93bf379 Update SPHINCS+ 2026-01-15 18:37:22 +08:00
Zhi Guan
a212b17099 Update LMS/HSS
Set SHA-256/SM3 independently.
2026-01-15 18:27:20 +08:00
Zhi Guan
02d3d0224e Update XMSS
Functions and types with prefix `xmss`
Set SM3 or SHA256 independently.
2026-01-15 18:22:11 +08:00
Zhi Guan
de57d7fce1 Fix kyber commands bugs 2026-01-12 21:53:39 +08:00
Zhi Guan
3afd4a047b Update Kyber 2026-01-12 20:41:44 +08:00
Zhi Guan
1f64cb7389 Add SPHINCS+ commands to gmssl
Add `sphincskeygen`, `sphincssign`, `sphincsverify`
2026-01-11 21:30:05 +08:00
Zhi Guan
4df06e7196 Update SPHINCS+ 2026-01-10 23:30:00 +08:00
Zhi Guan
242365bef1 Update SPHINCS+ 2026-01-08 22:23:32 +08:00
Zhi Guan
38451da6a8 Update XMSS 2026-01-05 21:19:23 +08:00
Zhi Guan
83ef4e88bf Update XMSS 2026-01-04 22:37:38 +08:00
Zhi Guan
65be2ce54b Update XMSS 2026-01-04 18:37:01 +08:00
Zhi Guan
14e4edede7 Update XMSS 2026-01-04 10:04:53 +08:00
Zhi Guan
b58eb671d5 Update Kyber 2026-01-04 09:59:29 +08:00
Zhi Guan
8239b4099f Add ENABLE_KYBER to CMake 2025-12-27 10:52:07 +08:00
Zhi Guan
a03f5132cd Add XMSS-SM3 signature 2025-12-18 18:35:15 +08:00
Zhi Guan
691cc6da74 Merge pull request #1752 from dihambo/master
修正asn1的tag掩码。完善asn1的tag测试,使其覆盖所有可能值。
2025-12-09 08:44:58 +08:00
Zhi Guan
2b67dca44a Update ASN.1 2025-12-08 16:50:56 +08:00
Zhi Guan
bae8f54667 Update XMSS-SM3
XMSS is in developing, not fully tested
2025-12-08 10:24:00 +08:00
Zhi Guan
833150f297 Reomve sm3 from lms/hss names 2025-12-07 22:08:17 +08:00
Zhi Guan
49f4e1f28a Update SM3 LMS/HSS 2025-12-07 21:35:10 +08:00
Zhi Guan
3cec02d288 Add LMS/HSS public key DER encoding 2025-12-04 16:06:10 +08:00
Zhi Guan
6a51ca01dc Add SM3 LMS/HSS hash-based post-quantum signatures 2025-12-04 11:46:16 +08:00
Dihambo
c0b0dfc855 fix: 覆盖所有tag值 2024-09-27 12:53:45 +00:00
Zhi Guan
34fa519dc0 Fix XTS bug
when input/output share the same buffer, the XTS  output will crush the last input part.
2024-07-31 19:27:38 +08:00
Zhi Guan
a266042160 Update hkdftest.c 2024-07-31 19:26:08 +08:00
Zhi Guan
18ac39ebe3 Clean code 2024-06-13 12:18:40 +08:00
Zhi Guan
b1f25ab306 Fix DER length decoding bug
`asn1_length_from_der` incorrectly accept the BER long length.
2024-06-11 23:18:55 +08:00
Zhi Guan
2b096187b0 Rename speed functions 2024-06-05 21:33:44 +08:00
Zhi Guan
79a4760e1e Remove GMT/0105 RNG 2024-06-02 22:42:51 +08:00
Zhi Guan
fa3341171c Remove HASH_DRBG 2024-06-02 22:40:04 +08:00
Zhi Guan
478d75349b Update sm4 ctr tests 2024-06-02 22:33:00 +08:00
Zhi Guan
26750fbb1d Add gf128_mul arm64 intrinsics 2024-05-31 21:01:49 +08:00
Zhi Guan
68fd02e2ac Convert utf-8 files to ascii 2024-05-25 18:45:23 +08:00
Zhi Guan
d56eeaac5a Remove warnings 2024-05-17 13:12:51 +08:00
Zhi Guan
a98be7f477 Change iv behavior in sm4_cbc_encrypt_blocks 2024-05-13 21:51:59 +08:00
Zhi Guan
1e2b75ff1a Update gmssl help 2024-05-13 21:44:48 +08:00
Zhi Guan
7f3072e917 Let sm4_cbc_encrypt_blocks update iv
If in == out, then after encryptions the input (i.e. iv) is changed
2024-05-13 21:44:06 +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
cc154048e7 Add sm3 arm neon implementation 2024-05-10 22:06:41 +08:00
Zhi Guan
48bbce551f Add unlooped version of SM3 2024-05-10 00:53:49 +08:00
Zhi Guan
d37d0b18b8 Change SDF files 2024-05-09 10:22:03 +08:00
Zhi Guan
2000655392 Update soft_sdftest.c 2024-05-07 10:57:00 +08:00
Zhi Guan
1301280b77 Update soft_sdf 2024-05-05 22:25:01 +08:00
Zhi Guan
f47a9c586e Add SM4 CCM test speed 2024-04-29 23:41:05 +08:00
Zhi Guan
5f829132db Update sm4_cbc_mactest.c 2024-04-29 23:40:50 +08:00
Zhi Guan
81c97dbec0 Update SM4 CL function names 2024-04-29 23:40:44 +08:00