提交 8b442216 编写于 作者: T Thomas Gleixner 提交者: Peter Zijlstra

crypto: x86/serpent: Remove redundant alignments

SYM_FUNC_START*() and friends already imply alignment, remove custom
alignment hacks to make code consistent. This prepares for future
function call ABI changes.

Also, with having pushed the function alignment to 16 bytes, this
custom alignment is completely superfluous.
Signed-off-by: NThomas Gleixner <tglx@linutronix.de>
Signed-off-by: NPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111144.558544791@infradead.org
上级 ba1b270c
...@@ -550,7 +550,6 @@ ...@@ -550,7 +550,6 @@
#define write_blocks(x0, x1, x2, x3, t0, t1, t2) \ #define write_blocks(x0, x1, x2, x3, t0, t1, t2) \
transpose_4x4(x0, x1, x2, x3, t0, t1, t2) transpose_4x4(x0, x1, x2, x3, t0, t1, t2)
.align 8
SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx) SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx)
/* input: /* input:
* %rdi: ctx, CTX * %rdi: ctx, CTX
...@@ -604,7 +603,6 @@ SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx) ...@@ -604,7 +603,6 @@ SYM_FUNC_START_LOCAL(__serpent_enc_blk8_avx)
RET; RET;
SYM_FUNC_END(__serpent_enc_blk8_avx) SYM_FUNC_END(__serpent_enc_blk8_avx)
.align 8
SYM_FUNC_START_LOCAL(__serpent_dec_blk8_avx) SYM_FUNC_START_LOCAL(__serpent_dec_blk8_avx)
/* input: /* input:
* %rdi: ctx, CTX * %rdi: ctx, CTX
......
...@@ -550,7 +550,6 @@ ...@@ -550,7 +550,6 @@
#define write_blocks(x0, x1, x2, x3, t0, t1, t2) \ #define write_blocks(x0, x1, x2, x3, t0, t1, t2) \
transpose_4x4(x0, x1, x2, x3, t0, t1, t2) transpose_4x4(x0, x1, x2, x3, t0, t1, t2)
.align 8
SYM_FUNC_START_LOCAL(__serpent_enc_blk16) SYM_FUNC_START_LOCAL(__serpent_enc_blk16)
/* input: /* input:
* %rdi: ctx, CTX * %rdi: ctx, CTX
...@@ -604,7 +603,6 @@ SYM_FUNC_START_LOCAL(__serpent_enc_blk16) ...@@ -604,7 +603,6 @@ SYM_FUNC_START_LOCAL(__serpent_enc_blk16)
RET; RET;
SYM_FUNC_END(__serpent_enc_blk16) SYM_FUNC_END(__serpent_enc_blk16)
.align 8
SYM_FUNC_START_LOCAL(__serpent_dec_blk16) SYM_FUNC_START_LOCAL(__serpent_dec_blk16)
/* input: /* input:
* %rdi: ctx, CTX * %rdi: ctx, CTX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册