19 Commits

Author SHA1 Message Date
Sun Yimin
a2ce3f51d0
sm4: reduce bounds check 2024-01-31 14:48:46 +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
29b6da1d37
sm4: change to use pure go for single block encryption/decryption 2024-01-25 09:02:28 +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
0fbc30f868
sm4: optimize cbc iv handling 2023-08-08 12:35:42 +08:00
Sun Yimin
4e50b3dd6b
sm4: cbc ecb mode enhancement 2023-08-07 16:43:29 +08:00
Sun Yimin
4bc3c5d27b
sm4: improve throughput #146 2023-08-03 15:17:01 +08:00
Sun Yimin
f81bbd17df
sm4: improve arm64 single block performance & CBC decrypt performance 2023-06-19 15:51:49 +08:00
Sun Yimin
57d800767b
sm4: finetune bounds check 2023-06-05 14:32:15 +08:00
Sun Yimin
200a785d29
change build tag generic to purego & import nat package 2022-11-22 11:02:37 +08:00
Sun Yimin
1710bdff4a
refactoring, rename internal packages 2022-08-18 14:49:35 +08:00
Sun Yimin
5b075213c0
sm4: add cbcEncAble interface 2022-07-26 08:30:24 +08:00
Sun Yimin
42faebb588
sm4: cbc encryption improvement a little 2022-07-21 17:32:11 +08:00
Sun Yimin
572bf6574e
sm4: improve cbc decrypt performance 2022-07-20 11:43:49 +08:00
Sun Yimin
8cb1e257dc
support build generic 2022-06-14 08:45:54 +08:00
Emman
7dec383b16 align format 2022-01-21 11:24:10 +08:00
Emman
e515088882 [SM4] Non-owners do not invoke asm method directly 2022-01-07 09:48:44 +08:00
Emman
acabed56bd [SM4] refactor to support different concurrent blocks 2022-01-06 11:48:38 +08:00
emmansun
8a61c0ad3f support gcm arm64 & cbc/ctr use asm cipher 2022-01-02 11:22:24 +08:00