25 Commits

Author SHA1 Message Date
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