Zhi Guan
a03f5132cd
Add XMSS-SM3 signature
2025-12-18 18:35:15 +08:00
Zhi Guan
4791a30466
Add XMSS/XMSS^MT OID
2025-12-10 08:56:27 +08:00
Zhi Guan
a146cd2ff7
fix ioctlsocket argument
2025-12-09 09:23:46 +08:00
Zhi Guan
e6d9bda6e4
Update aes.c
...
The `memset` at the end of the function can be optimized by the compiler. This update remove warnings from CodeQL.
2025-12-09 09:20:23 +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
a2974a9a8b
Update tls.c
2025-12-08 20:45:35 +08:00
Zhi Guan
4ef98b0833
Merge pull request #1839 from mikecovlee/master
...
[bugfix] fix win32 incompatible pointer type error and cmake warnings
2025-12-08 20:42:24 +08:00
Zhi Guan
74c6626c99
Merge pull request #1738 from MelacauZhou/master
...
Fixed sm4_ccm decrypt.
Need a test for this bug.
2025-12-08 18:25:39 +08:00
Zhi Guan
bfdac0079f
Merge pull request #1765 from zeyuwzy/my/master
...
fix SKF_METHOD_free close handle issue
2025-12-08 18:21:19 +08:00
Zhi Guan
2b67dca44a
Update ASN.1
2025-12-08 16:50:56 +08:00
Zhi Guan
d69783aaa5
Merge pull request #1770 from KSroido/master
...
[small fix] delete useless var in sm2_key.c
2025-12-08 14:39:53 +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
a1e12f25f3
Fix hss_signature_size bug
2025-12-06 11:30:35 +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
Michael Lee
84add811a7
[bugfix] fix win32 incompatible pointer type error and cmake warnings
2025-08-21 14:37:21 +08:00
人间流浪少年
0e030e901e
Update sm2_key.c and delete useles var
...
to fix error
error: ../../common/gmssl/src/sm2_key.c: In function 'sm2_public_key_to_der':
../../common/gmssl/src/sm2_key.c:110:9: error: unused variable 'len' [-Werror=unused-variable]
size_t len = 0;
^~~
cc1: all warnings being treated as errors
2024-12-05 14:25:53 +08:00
wangzeyu
a05bee622e
fix SKF_METHOD_free close handle issue
...
Signed-off-by: wangzeyu <zeyusteel@163.com >
2024-11-08 17:10:03 +08:00
Dihambo
c96c10ea2a
fix: tag mask错误
2024-09-27 12:48:55 +00:00
Melacau
403891478d
Fixed sm4_ccm decrypt.
2024-09-06 13:08:21 +08: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
9f4dac228e
Update kyber.c
...
KEM passed
2024-07-28 22:09:14 +08:00
Zhi Guan
ec23ce0677
Update kyber.c
...
Kyber.CPA passed
2024-07-28 16:42:34 +08:00
Zhi Guan
3f0cf263f2
Create kyber.c
2024-07-26 22:42:40 +08:00
Zhi Guan
fac04b76f8
Update HKDF API
2024-07-26 22:42:37 +08:00
Zhi Guan
8c5f239387
Create sm3_lms.c
2024-07-08 22:16:41 +08:00
Zhi Guan
5b3c897d0e
Fix sm9_z256_point_from_uncompressed_octets bug
...
Fix the issue of https://github.com/guanzhi/GmSSL/issues/1698
This might lead to Invalid curve attack.
2024-06-18 10:03:07 +08:00
Zhi Guan
572ab07824
Remove warnings from clang --analyze
2024-06-18 09:53:15 +08:00
Zhi Guan
567604210a
Update tls13.c, remove warning from clang --analyze
2024-06-18 09:32:30 +08:00
Zhi Guan
5821f2041d
Remove warnings from clang --analyze
2024-06-18 09:25:52 +08:00
Zhi Guan
f11be42de7
Create sm9_z256_arm64.S
2024-06-18 09:25:01 +08:00
Zhi Guan
f6456f9e28
Update sm2_z256_arm64.S
2024-06-18 09:24:38 +08:00
Zhi Guan
18ac39ebe3
Clean code
2024-06-13 12:18:40 +08:00
Zhi Guan
ed6b7f926e
Fix tls_set_socket on WIN32
2024-06-13 12:18:27 +08:00
Zhi Guan
02cfe3f3aa
Fix return value bug
2024-06-13 12:18:16 +08:00
Zhi Guan
6248cc171c
Check sm4-gcm max plaintext size
2024-06-11 23:22:39 +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
75430408c2
Update sm2_sign.c
2024-06-11 23:16:00 +08:00
Zhi Guan
2a5a99ff29
Remove ENABLE_CRYPTO_SDF module
2024-06-09 16:53:33 +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
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