11 Commits

Author SHA1 Message Date
Sun Yimin
aa82b5836b
sm4: use package level instead of local for shared variables 2024-11-11 17:40:41 +08:00
Sun Yimin
37493fe3df
sm4: arm64 cbc, fix register usage issue 2024-09-13 11:23:31 +08:00
Sun Yimin
20f0807451
sm4: arm64 cbc decrypt, reduce memory load 2024-09-13 11:06:41 +08:00
Sun Yimin
1b512e5772
internal/cryptotest: add tests for the hash.Hash cipher.BlockMode cipher.Block interfaces 2024-08-02 13:02:25 +08:00
Sun Yimin
5adc912824
refine build tags 2024-03-05 09:47:49 +08:00
Sun Yimin
a01428eaf3
sm4: add env var FORCE_SM4BLOCK_AESNI & give up cbc asm implementation 2024-01-25 17:46:09 +08:00
Sun Yimin
17a3dd8d4b
change interface{} to any, and remove "+build" build tag #77 2023-11-09 08:34:50 +08:00
Sun Yimin
53e121c2b5
sm4: optimize TAO L1 #168 2023-09-28 10:11:31 +08:00
Sun Yimin
feb76edda8
sm4: fix cbc iv issue 2023-08-08 13:07:10 +08:00
Sun Yimin
0fbc30f868
sm4: optimize cbc iv handling 2023-08-08 12:35:42 +08:00
Sun Yimin
29d7b25b95
sm4: cbc ecb asm rename 2023-08-08 08:22:17 +08:00