Zhi Guan
|
f3ceaa4e4e
|
Update sm2_z256.c
|
2024-05-23 16:43:05 +08:00 |
|
Zhi Guan
|
adc181fa91
|
Remove warnings
|
2024-05-23 16:28:54 +08:00 |
|
Zhi Guan
|
dc80b0c137
|
Change cpu suffix and other file names
|
2024-05-12 23:17:35 +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
|
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
|
242bbb3f6d
|
Add speed tests
|
2024-04-22 22:46:23 +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 |
|
Zhi Guan
|
8cb306ad0b
|
Adjust SM3 SM4 API
Remove sm3_digest. Use more _gmssl_export
|
2024-04-19 18:32:06 +08:00 |
|
Gorachya
|
36f256913d
|
Update sm2_z256.c
|
2024-04-19 17:55:28 +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
|
e9bbcf5490
|
Use z256 and jacobian coordinates as inner presentation of SM2 point
|
2024-04-18 21:27:00 +08:00 |
|
Zhi Guan
|
549c68d2df
|
Re-organize SM2 files
|
2024-04-17 22:43:04 +08:00 |
|
Zhi Guan
|
2a5dc640bd
|
Remove some modn functions
|
2024-04-17 20:55:20 +08:00 |
|
Zhi Guan
|
6028d1e10b
|
Rename POINT_AFFINE to AFFINE_POINT
|
2024-04-16 22:51:38 +08:00 |
|
Zhi Guan
|
4e66f911d0
|
Update rand_range functions
`rand_range` will stop and return 0 if the `range` is too small. Caller can call it again or stop. `rand_range` return -1 only if RNG failure.
|
2024-04-16 22:49:59 +08:00 |
|
Zhi Guan
|
ddda806267
|
Change function names
|
2024-04-16 19:03:05 +08:00 |
|
Zhi Guan
|
31440f9948
|
Update SM2
|
2024-03-19 21:37:36 +08:00 |
|
Zhi Guan
|
33baa3df92
|
Update SM2
|
2024-03-10 22:34:43 +08:00 |
|
Zhi Guan
|
4fa09e1f54
|
Update sm2 sign/enc with z256 implementation
|
2024-02-26 09:52:40 +08:00 |
|
Zhi Guan
|
c460766320
|
Update SM2 arithmetic implementations
Decouple API and implementations. SM2 arithmetic exposes 3 types: GF(p), GF(n), and Point.
|
2024-02-22 11:14:59 +08:00 |
|
Zhi Guan
|
326e7de416
|
Add SM2 Z256 implementation
|
2024-02-20 11:24:00 +08:00 |
|
Zhi Guan
|
87a4477ee9
|
Remove extra code
|
2023-10-12 15:06:35 +08:00 |
|
nntp4
|
b649589795
|
Fix bug not including sm2_z256.h
Signed-off-by: nntp4 <nntp4@proton.me>
|
2023-06-22 17:35:38 +08:00 |
|
Zhi Guan
|
5ca0d60781
|
Add sm2z256 c implementation
|
2023-04-22 10:23:57 +08:00 |
|