Commit Graph

7 Commits

Author SHA1 Message Date
Zhi Guan
2c125fbaa5 Return max *outlen in SM4 CTX update/finish 2024-05-11 15:05:27 +08:00
Zhi Guan
bc15f7a0c7 Update SM4 API 2024-04-27 12:08:35 +08:00
Zhi Guan
b2e334bfb9 FIX GCM counter bug, change inc128 to inc32 2024-04-21 23:58:01 +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
9fd4464980 AES GCM depends on CTR 2024-04-12 10:27:08 +08:00
Zhi Guan
8c1c69e264 Implement SM4 GCM with CTR
So gcm can benefits from ctr optimizations.
2024-04-12 10:22:57 +08:00
Zhi Guan
2d0378f3c7 Adjust SM4 source files 2024-04-10 16:07:44 +08:00