Zhi Guan
46bdce350c
Update sm4.h
2024-05-09 16:40:15 +08:00
Zhi Guan
d37d0b18b8
Change SDF files
2024-05-09 10:22:03 +08:00
Zhi Guan
3d491c9e14
Use SDF as the crypto provider in SM2/3/4 CTX API
...
cmake .. -DENABLE_CRYPTO_SDF=ON
2024-05-08 17:04:45 +08:00
Zhi Guan
2000655392
Update soft_sdftest.c
2024-05-07 10:57:00 +08:00
Zhi Guan
40f2bb23d0
Update soft_sdf.c
2024-05-07 10:48:15 +08:00
Zhi Guan
fad7830f1c
Update sdf_lib.c
...
The `ECCCipher` in GmSSL has enough ciphertext buffer, so length checking is not required. And without setting ECCCipher.L makes the API easier to use.
2024-05-07 10:47:16 +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
Zhi Guan
eeb44dc633
Update error.h
2024-04-29 23:39:24 +08:00
Zhi Guan
f17d25abac
Merge pull request #1668 from Gorachya/master
...
Update sm9_z256.c
2024-04-29 22:58:20 +08:00
Zhi Guan
bce16e1835
Update sm2_z256.c
2024-04-29 22:56:48 +08:00
Zhi Guan
8513857454
Update sm2_z256.c
2024-04-29 22:47:43 +08:00
Zhi Guan
0bb2011dac
Update sm2_z256.h
2024-04-29 22:47:40 +08:00
Zhi Guan
b351803fbc
Update ZUC
2024-04-29 22:39:26 +08:00
Zhi Guan
5cf6f2609e
Add sm4_MODE_encrypt_blocks
2024-04-29 22:35:25 +08:00
Zhi Guan
33c546f48a
Update sm4_ctrtest.c
2024-04-28 17:27:45 +08:00
Zhi Guan
6e8a36c738
Update SM4 CBC API
2024-04-28 17:27:41 +08:00
Zhi Guan
660b4cfc53
Update sm4_cbc.c
2024-04-28 17:14:24 +08:00
Zhi Guan
060930093f
Update SM4 TBOX version
2024-04-28 17:11:57 +08:00
Zhi Guan
af3175f6fa
Update zuctest.c
2024-04-27 20:58:46 +08:00
Zhi Guan
b2b19427fe
Update zuc.c
2024-04-27 20:58:43 +08:00
Zhi Guan
6147f7af55
Update zuc.c
2024-04-27 17:08:34 +08:00
Zhi Guan
83573a56ed
Update zuctest.c
2024-04-27 17:08:31 +08:00
Zhi Guan
bc15f7a0c7
Update SM4 API
2024-04-27 12:08:35 +08:00
Gorachya
0be17d59ec
Update sm9_z256.c
2024-04-26 12:39:32 +08:00
Zhi Guan
3f1fdc147a
Add sm2_encrypt_pre_compute
2024-04-25 16:34:03 +08:00
Zhi Guan
f0859a1f04
Update sm2_z256_point_mul_pre_compute
2024-04-25 11:46:10 +08:00
Zhi Guan
f8fbeddd4f
Add SM2_VERIFY_CTX
2024-04-25 08:40:39 +08:00
Zhi Guan
52c1e57e8c
Update CMakeLists.txt
2024-04-24 17:38:22 +08:00
Zhi Guan
2567d86fdb
Update sm4_cl.c
2024-04-24 17:38:19 +08:00
Zhi Guan
2e6cef2999
Change sm4_cl_encrypt to sm4_cl_ctr32_encrypt
2024-04-23 22:39:43 +08:00
Zhi Guan
2e45b3fbe1
Add zuc speed test
2024-04-23 09:57:44 +08:00
Zhi Guan
329b539c50
Add sm9 speed test
2024-04-23 09:57:37 +08:00
Zhi Guan
fa5bf0e3a8
Add sm4_cl speed test
2024-04-22 22:59:02 +08:00
Zhi Guan
242bbb3f6d
Add speed tests
2024-04-22 22:46:23 +08:00
Zhi Guan
ae2f635b7f
Fix SM4-CCM counter overflow bug
...
Need test vectors to check the correctness
2024-04-22 17:43:29 +08:00
Zhi Guan
e05fd9c1b9
Use Montgomery's Trick on sm2_fast_sign_pre_compute
2024-04-22 17:43:05 +08:00
Zhi Guan
bdd2149dc8
Merge pull request #1663 from Gorachya/master
...
Faster pairing
2024-04-22 12:13:33 +08:00
Gorachya
d1131455b6
Update sm9test.c
2024-04-22 12:00:29 +08:00
Gorachya
797c7739f3
Update sm9_z256.h
2024-04-22 11:58:16 +08:00
Gorachya
5775cb5f42
Add files via upload
2024-04-22 11:55:14 +08:00
Gorachya
3fb7eebba8
Add files via upload
2024-04-22 11:34:30 +08:00
Zhi Guan
506ab2711c
Delete sha3.h
2024-04-21 23:58:05 +08:00
Zhi Guan
b2e334bfb9
FIX GCM counter bug, change inc128 to inc32
2024-04-21 23:58:01 +08:00
Zhi Guan
252c9e1765
Add more SM4 test vectors
...
SM4 pass openssl and other known test vectors. SM4-GCM and SM4-XTS only support the GB/T GF(2^128) encoding standard.
2024-04-21 10:10:46 +08:00
Zhi Guan
a485fa0b10
Fix SM4-CCM bug in length encoding
2024-04-21 10:09:31 +08:00
Zhi Guan
afd9682254
Merge pull request #1660 from Gorachya/master
...
Add SM2_mont_mul_2_way for NEON
2024-04-20 12:53:52 +08:00
Simon
f3fb2ee94b
Update README.md
2024-04-20 12:26:32 +08:00