Commit 3ba56d0b authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Peter Zijlstra

crypto: x86/sha256: Remove custom 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.
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220915111144.766564176@infradead.org
parent c2a3ce6f
...@@ -347,7 +347,6 @@ a = TMP_ ...@@ -347,7 +347,6 @@ a = TMP_
######################################################################## ########################################################################
.text .text
SYM_FUNC_START(sha256_transform_avx) SYM_FUNC_START(sha256_transform_avx)
.align 32
pushq %rbx pushq %rbx
pushq %r12 pushq %r12
pushq %r13 pushq %r13
......
...@@ -524,7 +524,6 @@ STACK_SIZE = _CTX + _CTX_SIZE ...@@ -524,7 +524,6 @@ STACK_SIZE = _CTX + _CTX_SIZE
######################################################################## ########################################################################
.text .text
SYM_FUNC_START(sha256_transform_rorx) SYM_FUNC_START(sha256_transform_rorx)
.align 32
pushq %rbx pushq %rbx
pushq %r12 pushq %r12
pushq %r13 pushq %r13
......
...@@ -356,7 +356,6 @@ a = TMP_ ...@@ -356,7 +356,6 @@ a = TMP_
######################################################################## ########################################################################
.text .text
SYM_FUNC_START(sha256_transform_ssse3) SYM_FUNC_START(sha256_transform_ssse3)
.align 32
pushq %rbx pushq %rbx
pushq %r12 pushq %r12
pushq %r13 pushq %r13
......
...@@ -96,7 +96,6 @@ ...@@ -96,7 +96,6 @@
*/ */
.text .text
.align 32
SYM_FUNC_START(sha256_ni_transform) SYM_FUNC_START(sha256_ni_transform)
shl $6, NUM_BLKS /* convert to bytes */ shl $6, NUM_BLKS /* convert to bytes */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment