Commit Graph

9 Commits

Author SHA1 Message Date
Gorachya
0be17d59ec Update sm9_z256.c 2024-04-26 12:39:32 +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
b2707a1f0e Adjust SM9 files 2024-04-18 21:41:17 +08:00
Zhi Guan
5d40024f14 Update SM9 to/from_hex API 2024-04-17 15:42:47 +08:00
Zhi Guan
c79084ad03 Remove sm9 modp to/from bytes/hex 2024-04-17 09:09:37 +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
e061dda71f Remove modp_to_bytes 2024-04-16 22:27:59 +08:00
Zhi Guan
fea2b018dc Rename SM9 file names 2024-04-16 19:18:07 +08:00