Commit Graph

5 Commits

Author SHA1 Message Date
Zhi Guan
34fa519dc0 Fix XTS bug
when input/output share the same buffer, the XTS  output will crush the last input part.
2024-07-31 19:27:38 +08:00
Zhi Guan
e17df320be Remove cl building warnings 2024-05-13 15:52:59 +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
79a6437c8c Update sm4 tool to support more modes
Not finish yet
2024-02-21 09:24:22 +08:00
Zhi Guan
c9c26aca44 Add more SM4 modes 2024-02-19 14:16:49 +08:00