Commit Graph

81 Commits

Author SHA1 Message Date
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
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
Zhi Guan
6ef810f51f Fix last commit bug in TLS cert_verify 2022-12-28 16:26:43 +08:00
Zhi Guan
616b5ecb06 Support DLL in MSVC 2022-12-27 17:23:56 +08:00
Zhi Guan
27e9c56bc1 Update ASN.1 Time 2022-12-27 13:55:32 +08:00
Zhi Guan
a31c979aa7 Update CMakeLists.txt 2022-12-23 12:53:22 +08:00
Zhi Guan
da71474441 Update CMakeLists.txt 2022-12-22 23:01:13 +08:00
Zhi Guan
34ad2a61de Use own time functions 2022-12-22 21:50:06 +08:00
Zhi Guan
4bacf39790 Fix rand_bytes in Android 2022-12-22 21:32:06 +08:00
Zhi Guan
9ce7a54649 Update rand_bytes() 2022-12-22 17:08:50 +08:00
Zhi Guan
d8b945993f Merge pull request #1337 from BombaxCeiba/cmake_mingw_fix
fix cmake build error on mingw
2022-10-15 18:31:28 +08:00
Zhi Guan
b419a96114 Add SM4 AESNI+AVX implementation 2022-10-15 17:24:15 +08:00
Zhi Guan
a80ead7e04 Add SM3 ASM 2022-10-15 16:42:35 +08:00
Dusk_NM02
a3ddd64bcb fix cmake build error on mingw 2022-10-15 13:36:11 +08:00
Zhi Guan
dbc5b316b5 Remove warnings 2022-10-13 16:16:42 +08:00
Zhi Guan
0d32a8cdcc Update CMakeLists.txt
Thanks to Axyes
2022-10-10 20:14:04 +08:00
Zhi Guan
6faeb627ed Fix Visual Studio related bugs 2022-10-09 12:55:32 +08:00
Zhi Guan
4fa67db948 Add WIN32 rand 2022-10-07 20:53:38 +08:00
Zhi Guan
58fda1f721 Fix Visual Studio compiling errors 2022-10-06 14:23:30 +08:00
Zhi Guan
ad023d33f7 Update CMakeLists.txt 2022-10-06 13:18:24 +08:00
Zhi Guan
cb59309f67 Update CMakeLists.txt 2022-10-04 17:02:22 +08:00
Simon
4e5880e2ea Revert "修改License"
This reverts commit 0b4308b948.
2022-08-26 13:44:26 +08:00
Simon
0b4308b948 修改License 2022-08-25 22:42:11 -07:00
Zhi Guan
4ab269919d Add SM4 demos 2022-07-31 18:47:07 +08:00
Zhi Guan
5dadb639a8 Update Makefile and code style in tests 2022-07-28 16:42:54 +08:00