32 Commits

Author SHA1 Message Date
Sun Yimin
761746de78
sm4: amd64, a bit change for single block 2024-09-19 17:52:12 +08:00
Sun Yimin
5adc912824
refine build tags 2024-03-05 09:47:49 +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
8f5e603f94
sm4: disable PXOR use m128 directly 2023-11-01 15:00:49 +08:00
Sun Yimin
75b153887e
sm4: gcm amd64, remove uselss code 2023-09-04 08:36:03 +08:00
Sun Yimin
8d5c6c4601
sm4: gcm amd64 optmization 2023-08-28 14:41:15 +08:00
emmansun
3f602061fc sm4: gcm amd64 reduce byte shuffling #152 2023-08-26 10:11:25 +08:00
Sun Yimin
9ee8ee4529
sm4: xts asm amd64 2023-08-24 11:47:06 +08:00
Sun Yimin
e00fbe696d
sm4: optimize avx2 implementation 2023-08-04 15:52:00 +08:00
Sun Yimin
1e360021c4
sm4: fix amd64 avx2 decrypt 4 blocks issue #146 2023-08-03 16:13:05 +08:00
Sun Yimin
4bc3c5d27b
sm4: improve throughput #146 2023-08-03 15:17:01 +08:00
Sun Yimin
fc2f105dd2
sm4: fix AVX version use AVX2 inst. issue 2023-07-13 08:47:05 +08:00
Sun Yimin
12ef9e0ef9
sm4: optimize amd64 sse, cbc decrypter 2023-07-04 08:38:53 +08:00
emmansun
f10b09f5a2 sm4: gcm init use PALIGNR to reduce instructions 2023-07-03 15:41:05 +08:00
Sun Yimin
d3e6412258
sm4: Support AES-NI + AVX #135 2023-07-03 12:00:27 +08:00
Sun Yimin
39f75ac913
sm4: rename asm macros files 2023-06-28 16:52:40 +08:00
Sun Yimin
200a785d29
change build tag generic to purego & import nat package 2022-11-22 11:02:37 +08:00
Sun Yimin
21859b7273
sm4: gcm data disable pass initial tag 2022-07-28 09:37:03 +08:00
Sun Yimin
9b364dca8b
sm4: reduce duplicated code and add comments 2022-07-25 13:20:58 +08:00
Sun Yimin
acffd83cc9
sm4: format asm code 2022-07-22 10:08:15 +08:00
Sun Yimin
8ddf1bc68f
sm4: reduce duplicated asm code 2022-07-21 13:41:56 +08:00
Sun Yimin
f5bd2cabad
fix 1.17 error 2022-06-14 08:57:25 +08:00
Sun Yimin
92439288cb
fix #57 2022-06-06 13:45:46 +08:00
Emman
c71d5ccd96 Fix compile error 2022-04-29 17:29:08 +08:00
Emman
37ab6d67f3 Fix amd64 bug 2022-04-29 13:01:34 +08:00
Emman
d79ab3d709 Change to use new {M1, C1, M2, C2}, do not know the old one's derivation process 2022-03-11 18:05:08 +08:00
Emman
1c45ccbffd [SM4] avx2 gcm dec tuning 2022-01-24 16:14:42 +08:00
Emman
7dec383b16 align format 2022-01-21 11:24:10 +08:00
Emman
067a12cb20 [SM4] code format 2022-01-18 11:40:59 +08:00
Emman
6dde984da4 [SM4] gcmSm4Enc & gcmSm4Dec 2022-01-18 10:31:53 +08:00
Emman
64cda2957b [SM4] - implement gcmSm4Init 2022-01-12 16:06:39 +08:00
Emman
88e456e9a8 MAGIC - ghash asm tuning 2021-03-19 17:17:19 +08:00