Zhi Guan
fce32d149e
Update socket.h
2025-12-09 08:46:21 +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
8e8a17f4cc
Merge pull request #1782 from senserhit/master
...
修复使用CA签发证书时,签发出来的证书里的Authority Key Identifier和Subject Key Identifier 的内容相同bug
2025-12-08 18:01:00 +08:00
Zhi Guan
73d89cb7f5
Merge pull request #1764 from richerfu/master
...
feat: add ohos ci
2025-12-08 17:55:48 +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
d41c8b1287
Merge pull request #1786 from droe/droe/fix-ssl2
...
Fix SSL 2 version constant to 0x0002
2025-12-08 11:03:13 +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
d3dd07e885
Update README.md
2025-12-07 22:28:12 +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
a6d69ede57
Update sm2.h
2025-12-07 21:32:21 +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
236590835a
Fix error that can not override DEBUG
2025-12-02 16:46:01 +08:00
Michael Lee
84add811a7
[bugfix] fix win32 incompatible pointer type error and cmake warnings
2025-08-21 14:37:21 +08:00
Daniel Roethlisberger
061045f206
Fix SSL 2 version constant to 0x0002
...
SSL 2 uses a version field of 0x0002, not 0x0200. This is confirmed not
only in the original Netscape spec [1] and RFC draft of the time [2],
but also in major implementations such as OpenSSL [3] and Wireshark [4].
[1] https://www-archive.mozilla.org/projects/security/pki/nss/ssl/draft02.html
[2] https://datatracker.ietf.org/doc/html/draft-hickman-netscape-ssl-00
[3] https://github.com/openssl/openssl/blob/OpenSSL_0_9_6m/ssl/ssl2.h#L66-L71
[4] https://github.com/wireshark/wireshark/blob/release-4.4/epan/dissectors/packet-tls-utils.h#L266-L277
2025-01-19 22:31:12 +01:00
senserhit
a5f440e159
Fix reqsign Subject Key Identifier bug
2025-01-14 14:30:50 +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
richerfu
6afc9b9f5f
feat: add ohos ci
2024-11-08 10:51:39 +08:00
Dihambo
c0b0dfc855
fix: 覆盖所有tag值
2024-09-27 12:53:45 +00: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
a266042160
Update hkdftest.c
2024-07-31 19:26:08 +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
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
8c5f239387
Create sm3_lms.c
2024-07-08 22:16:41 +08:00
Zhi Guan
e7354c1faa
Add SM4-ECB/CFB/OFB tests to sdftest
2024-06-22 16:06:21 +08:00
Zhi Guan
058fd4766c
Update sm4.h
2024-06-22 11:49:50 +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
b1b6c1797e
Merge branch 'master' of https://github.com/guanzhi/GmSSL
2024-06-18 09:26:04 +08:00
Zhi Guan
d65e963b2a
Update .gitignore
2024-06-18 09:25:59 +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