Commit Graph

104 Commits

Author SHA1 Message Date
Zhi Guan
81c3538020 Add SM3-XMSS post-quantum signature
The current configure is for testing only, the XMSS is configured to use SHA-256, not SM3.
2023-12-18 09:56:43 +08:00
Zhi Guan
dc4c21f4ec Make AES optional and remove "Public API" from headers 2023-12-17 16:52:42 +08:00
Zhi Guan
04cbd81651 Update CMakeLists.txt
both CMakeLists.txt and source use ENABLE_XXX
2023-12-17 16:33:51 +08:00
Zhi Guan
2c988b008b Update demos
To build demos, run
`cmake .. -DENABLE_DEMOS=ON`
2023-12-16 11:42:10 +08:00
Zhi Guan
508206223b Update CMakeLists.txt and make demos optional 2023-12-16 10:35:46 +08:00
Zhi Guan
5814112e22 Fix gmssl RPATH issue in Mac 2023-12-14 11:48:48 +08:00
Zhi Guan
6923ffc84c Add sm4_tbox.c as default SM4 C implementation
SM4 TBOX use a larger lookup table.
2023-12-13 20:58:40 +08:00
Zhi Guan
257ba6bcdb Update SM4
Simple SM4 cipher implementation in `sm4.c`
2023-12-13 20:26:57 +08:00
Zhi Guan
ecb7e1c248 Remove DES 2023-12-13 20:19:16 +08:00
Zhi Guan
687ecb9f49 Remove RC4 2023-12-13 20:16:05 +08:00
Zhi Guan
908ece9d0a Remove MD5 2023-12-13 20:14:19 +08:00
Zhi Guan
1d6c763afb Update version to 3.1.2-Dev 2023-12-13 20:02:27 +08:00
Zhi Guan
d655c06b3a Update version 2023-12-12 16:05:31 +08:00
Zhi Guan
01ade02dfa Update Versions 2023-10-24 08:57:16 +08:00
Zhi Guan
117914df09 Update CMakeLists.txt 2023-10-23 20:33:58 +08:00
Zhi Guan
18d1fcf3a4 Update CMakeLists.txt 2023-10-18 17:17:07 +08:00
Zhi Guan
739c4dbced Update CMakeLists.txt 2023-10-17 23:12:47 +08:00
Zhi Guan
0da7bbc22d Update CMakeLists.txt 2023-10-17 22:43:56 +08:00
Zhi Guan
8148b9ac52 Update CMakeLists.txt
Check RDRAND symbols
2023-10-16 08:48:19 +08:00
Zhi Guan
326956bbff Remove demos relay on third-party code 2023-10-13 17:50:55 +08:00
Zhi Guan
435f93771d Merge pull request #1495 from cntpro/master
增加在nmake下对源文件utf-8编码的支持,解决在msvc编译错误问题
2023-10-11 17:47:48 +08:00
Zhi Guan
551d4936b4 Remove sm3 asm 2023-09-26 11:06:56 +08:00
Zhi Guan
52772c3982 Remove sm2keyparse command 2023-09-09 17:24:17 +08:00
Zhi Guan
1f8ee704c6 Update CMakeLists.txt to depends gcc only 2023-09-09 17:08:55 +08:00
Zhi Guan
ac61cfae02 Update CMake options of RDRND
Separate CMake option of rdrand and rdseed. In some CPUs only rdrand is supported.
2023-09-09 16:56:52 +08:00
Liuzr
6f8db2f64a 增加在nmake下utf-8编码的支持
修正msvc编译错误。
2023-05-20 09:15:21 +08:00
guoshengxu
d6df76600e 增加了sm2keyparse部分 (#1423)
* Update gmssl.c

添加sm2keyparse功能,以十六进制明文查看SM2的公钥和私钥。

* Create sm2keyparse.c

增加sm2keyparse部分。

* Update CMakeLists.txt

增加tools/sm2keyparse.c

* Update sm2keyparse.c
2023-03-14 22:05:31 +08:00
Zhi Guan
ca47fb21c1 Merge pull request #1396 from dudamao/master
add link libraries ws2_32, fix win32 compile error.
2023-02-21 12:34:48 +08:00
Zhi Guan
e77aeffc21 Update CMake 2023-02-15 11:59:05 +08:00
Zhi Guan
29af4f7f76 Add AEAD and GHASH functions 2023-02-13 23:29:27 +08:00
Zhi Guan
236c6e17cb Add AEAD modes 2023-02-13 11:52:24 +08:00
Zhi Guan
66abb8e528 Update socket wrapper 2023-02-13 09:10:59 +08:00
Zhi Guan
8a0a23f91d Add SM2 AlgorithmIdentifier option
Add option in CMake to support NULL parameters encoding
2023-02-09 11:44:27 +08:00
Zhi Guan
da9ef786eb Update X509 2023-02-08 21:51:05 +08:00
Zhi Guan
d4d2f64aaa Add demos to CMake 2023-02-06 22:14:34 +08:00
Zhi Guan
97e33d4b9a Update CMakeLists.txt 2023-02-06 13:34:13 +08:00
Zhi Guan
a2e5db88ac Update CMakeLists.txt
Remove http_crl test, failed on GitHub CI environment.
2023-02-06 13:28:39 +08:00
Zhi Guan
bfe3e5999a Update HTTP for WIN 2023-02-06 12:50:28 +08:00
Zhi Guan
b5df2121d3 Add crlget tool 2023-01-31 19:18:46 +08:00
Zhi Guan
ec7700c17c Update X509 and certgen tool 2023-01-28 22:00:22 +08:00
Zhi Guan
c4c11ffe6b Update CRL functions and tools 2023-01-25 22:39:12 +08:00
Zhi Guan
c6ca4dd37b Add HTTP module 2023-01-18 00:27:35 +08:00
dudamao
d0c55842ae add link libraries ws2_32, fix win32 compile error.
when compiling under windows, socket function of send() and recv() is undefined. we should add link libraries.(https://stackoverflow.com/questions/2033608/mingw-linker-error-winsock)
2023-01-15 22:00:37 +08:00
Zhi Guan
a8dd65cf1c And soft RNG to cmake 2022-12-30 14:53:20 +08:00
Zhi Guan
f89bb40822 Merge pull request #1389 from leonardodalinky/pr
feat: linux packaging
2022-12-30 14:19:19 +08:00
Zhi Guan
dc7b9e68ec Update SM2 Extensions
Arrange source files
2022-12-30 12:46:47 +08:00
leonardodalinky
a30b70807a feat: linux packaging 2022-12-30 01:25:07 +08:00
Zhi Guan
eb06a2e200 Fix SM4 AESNI+AVX CTR 2022-12-29 17:51:32 +08:00
Zhi Guan
2aa4f5b747 Enable SM3 AVX+BMI2 2022-12-29 15:06:29 +08:00
Zhi Guan
cdebed562a Update CMakeLists.txt 2022-12-28 23:37:13 +08:00