Zhi Guan
|
478d75349b
|
Update sm4 ctr tests
|
2024-06-02 22:33:00 +08:00 |
|
Zhi Guan
|
26750fbb1d
|
Add gf128_mul arm64 intrinsics
|
2024-05-31 21:01:49 +08:00 |
|
Zhi Guan
|
68fd02e2ac
|
Convert utf-8 files to ascii
|
2024-05-25 18:45:23 +08:00 |
|
Zhi Guan
|
d56eeaac5a
|
Remove warnings
|
2024-05-17 13:12:51 +08:00 |
|
Zhi Guan
|
a98be7f477
|
Change iv behavior in sm4_cbc_encrypt_blocks
|
2024-05-13 21:51:59 +08:00 |
|
Zhi Guan
|
1e2b75ff1a
|
Update gmssl help
|
2024-05-13 21:44:48 +08:00 |
|
Zhi Guan
|
7f3072e917
|
Let sm4_cbc_encrypt_blocks update iv
If in == out, then after encryptions the input (i.e. iv) is changed
|
2024-05-13 21:44:06 +08:00 |
|
Zhi Guan
|
e17df320be
|
Remove cl building warnings
|
2024-05-13 15:52:59 +08:00 |
|
Zhi Guan
|
dc80b0c137
|
Change cpu suffix and other file names
|
2024-05-12 23:17:35 +08:00 |
|
Zhi Guan
|
58340393b1
|
Add SM4 commands in gmssl CLI
|
2024-05-11 18:10:24 +08:00 |
|
Zhi Guan
|
cc154048e7
|
Add sm3 arm neon implementation
|
2024-05-10 22:06:41 +08:00 |
|
Zhi Guan
|
48bbce551f
|
Add unlooped version of SM3
|
2024-05-10 00:53:49 +08:00 |
|
Zhi Guan
|
d37d0b18b8
|
Change SDF files
|
2024-05-09 10:22:03 +08:00 |
|
Zhi Guan
|
2000655392
|
Update soft_sdftest.c
|
2024-05-07 10:57:00 +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
|
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
|
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
|
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 |
|
Zhi Guan
|
3f1fdc147a
|
Add sm2_encrypt_pre_compute
|
2024-04-25 16:34:03 +08:00 |
|
Zhi Guan
|
f8fbeddd4f
|
Add SM2_VERIFY_CTX
|
2024-04-25 08:40:39 +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
|
e05fd9c1b9
|
Use Montgomery's Trick on sm2_fast_sign_pre_compute
|
2024-04-22 17:43:05 +08:00 |
|
Gorachya
|
d1131455b6
|
Update sm9test.c
|
2024-04-22 12:00:29 +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 |
|
Simon
|
350e91af0a
|
修复Windows编译的问题。
将Windows CI单独拿出来。在Windows环境下编译需要在cmake的时候增加-DWIN32=ON参数。
|
2024-04-20 12:23:30 +08:00 |
|
Zhi Guan
|
8cb306ad0b
|
Adjust SM3 SM4 API
Remove sm3_digest. Use more _gmssl_export
|
2024-04-19 18:32:06 +08:00 |
|
Zhi Guan
|
ab7c9a7651
|
Adjust SM2 API and tests
|
2024-04-19 17:32:54 +08:00 |
|
Zhi Guan
|
725817add9
|
Use sm3_pbkdf2 without digest API
|
2024-04-19 13:21:52 +08:00 |
|
Zhi Guan
|
356e618d99
|
Add sm2_key test
|
2024-04-18 22:01:50 +08:00 |
|
Zhi Guan
|
e9bbcf5490
|
Use z256 and jacobian coordinates as inner presentation of SM2 point
|
2024-04-18 21:27:00 +08:00 |
|
Zhi Guan
|
2a5dc640bd
|
Remove some modn functions
|
2024-04-17 20:55:20 +08:00 |
|
Zhi Guan
|
b01ad79475
|
Update sm9test.c
|
2024-04-17 15:44:56 +08:00 |
|
Zhi Guan
|
5d40024f14
|
Update SM9 to/from_hex API
|
2024-04-17 15:42:47 +08:00 |
|
Zhi Guan
|
f0e70bbb4d
|
Rename SM2_Z256 to sm2_z256_t
|
2024-04-16 22:58:07 +08:00 |
|
Zhi Guan
|
b519f973b9
|
Delete sm2_uint128test.c
|
2024-04-16 19:04:17 +08:00 |
|
Zhi Guan
|
ef03ddc680
|
Restore the original sm9 header file name.
|
2024-04-14 11:15:05 +08:00 |
|
Zhi Guan
|
771fe867ef
|
Adjust SM9 API
不再将Fp, Fn上的元素视为一种类型,而是看做在sm9_z256_t类型上的特殊计算类型,同理Montgomery计算也是sm9_z256_t上的计算。通过函数名可以完全体现在sm9_z256_t上的计算类型。
于此不同的是,GF(p^2), GF(p^4), GF(p^12) 几个类型在内部完全采用Montgomery形式表示,因此sm9_z256_fp2_t等表示特殊的类型,不再区分mul和mont_mul,因为所有计算都是Montgomery上的计算。
|
2024-04-14 10:20:11 +08:00 |
|
Zhi Guan
|
3a46c4a499
|
Add suffix _t to array type names
|
2024-04-13 18:57:29 +08:00 |
|