Sun Yimin
|
34dd5104ee
|
sm4: reduce slice checking internally
|
2024-03-27 09:36:56 +08:00 |
|
Sun Yimin
|
e4909bed2d
|
sm4: reduce allocations
|
2024-03-27 08:38:25 +08:00 |
|
Sun Yimin
|
5adc912824
|
refine build tags
|
2024-03-05 09:47:49 +08:00 |
|
Sun Yimin
|
19636d09c1
|
sm4: code refactor for block
|
2024-01-31 13:08:51 +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
|
8198f2aa8e
|
fix darwin cpu feature detect issue
|
2024-01-24 13:11: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
|
8cfd82dc53
|
sm4: mistake
|
2023-07-04 10:04:15 +08:00 |
|
Sun Yimin
|
d3e6412258
|
sm4: Support AES-NI + AVX #135
|
2023-07-03 12:00:27 +08:00 |
|
Sun Yimin
|
818159283c
|
disable sm3 sm4 ni via env. variable
|
2023-03-08 15:39:48 +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
|
af50b136e9
|
sm4: separate cipher_ni from cipher_asm
|
2022-07-19 13:29:21 +08:00 |
|
Sun Yimin
|
8cb1e257dc
|
support build generic
|
2022-06-14 08:45:54 +08:00 |
|
Emman
|
51b26c071d
|
separate aes/sm4 ni implementation
|
2022-04-29 12:09:04 +08:00 |
|
Emman
|
0beb90aff8
|
enable sm4ni gcm
|
2022-04-28 17:53:04 +08:00 |
|
Emman
|
0450200249
|
sm4 use sm4e sm4ekey, without gcm integration part
|
2022-04-28 13:46:50 +08:00 |
|
Emman
|
7dec383b16
|
align format
|
2022-01-21 11:24:10 +08:00 |
|
Emman
|
c18c7e921c
|
[SM4] support AVX2
|
2022-01-10 16:14:39 +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 |
|
emmansun
|
9f21693dee
|
gcm arm64 next
|
2022-01-01 22:03:49 +08:00 |
|
emmansun
|
c0fca30844
|
next-> gcm arm64
|
2022-01-01 21:35:49 +08:00 |
|
Sun Yimin
|
0e13bac951
|
bypass gcm asm first
|
2021-12-31 10:48:34 +08:00 |
|
Emman
|
461d00c366
|
try arm64 sm4 on aes
|
2021-12-31 10:18:55 +08:00 |
|
Emman
|
4a7e41b380
|
crypto: avoid escaping Hash.Sum on generic architectures
|
2021-10-08 13:57:14 +08:00 |
|
Emman
|
7a7384f389
|
MAGIC - use internal package
|
2021-04-29 15:14:22 +08:00 |
|
Emman
|
b1184c24cf
|
MAGIC - xts mode
|
2021-04-08 11:12:52 +08:00 |
|
Emman
|
85b3ecb129
|
MAGIC - support ccm mode
|
2021-03-31 11:55:52 +08:00 |
|
Emman
|
a5f2479d38
|
MAGIC - align with golang aes
|
2021-03-23 10:05:18 +08:00 |
|
emmansun
|
b8d89ee417
|
MAGIC - continue tuning
|
2021-03-21 19:20:23 +08:00 |
|
emmansun
|
4443db3f4d
|
MAGIC - implement expandKeyAsm
|
2021-03-21 12:35:53 +08:00 |
|
Emman
|
88e456e9a8
|
MAGIC - ghash asm tuning
|
2021-03-19 17:17:19 +08:00 |
|
Emman
|
b0889c3432
|
MAGIC - use AES-NI
|
2021-03-18 13:01:24 +08:00 |
|