aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/crypto/sha512-avx-asm.S
diff options
context:
space:
mode:
authorGravatar Ard Biesheuvel <ardb@kernel.org> 2023-04-12 13:00:35 +0200
committerGravatar Herbert Xu <herbert@gondor.apana.org.au> 2023-04-20 18:20:04 +0800
commit94330fbe082acfd7ac9f2a348933944ba78b14dc (patch)
treeb646a9bf65704f611dde3d56f10ab5970cba24c7 /arch/x86/crypto/sha512-avx-asm.S
parentcrypto: x86/crc32 - Use local .L symbols for code (diff)
downloadlinux-94330fbe082acfd7ac9f2a348933944ba78b14dc.tar.gz
linux-94330fbe082acfd7ac9f2a348933944ba78b14dc.tar.bz2
linux-94330fbe082acfd7ac9f2a348933944ba78b14dc.zip
crypto: x86/sha - Use local .L symbols for code
Avoid cluttering up the kallsyms symbol table with entries that should not end up in things like backtraces, as they have undescriptive and generated identifiers. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/crypto/sha512-avx-asm.S')
-rw-r--r--arch/x86/crypto/sha512-avx-asm.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/crypto/sha512-avx-asm.S b/arch/x86/crypto/sha512-avx-asm.S
index b0984f19fdb4..d902b8ea0721 100644
--- a/arch/x86/crypto/sha512-avx-asm.S
+++ b/arch/x86/crypto/sha512-avx-asm.S
@@ -276,7 +276,7 @@ frame_size = frame_WK + WK_SIZE
########################################################################
SYM_TYPED_FUNC_START(sha512_transform_avx)
test msglen, msglen
- je nowork
+ je .Lnowork
# Save GPRs
push %rbx
@@ -291,7 +291,7 @@ SYM_TYPED_FUNC_START(sha512_transform_avx)
sub $frame_size, %rsp
and $~(0x20 - 1), %rsp
-updateblock:
+.Lupdateblock:
# Load state variables
mov DIGEST(0), a_64
@@ -348,7 +348,7 @@ updateblock:
# Advance to next message block
add $16*8, msg
dec msglen
- jnz updateblock
+ jnz .Lupdateblock
# Restore Stack Pointer
mov %rbp, %rsp
@@ -361,7 +361,7 @@ updateblock:
pop %r12
pop %rbx
-nowork:
+.Lnowork:
RET
SYM_FUNC_END(sha512_transform_avx)