From f8fcc4d17be5065d3823964ee7fd62dbfb090e96 Mon Sep 17 00:00:00 2001 From: jsing <> Date: Sat, 17 Jan 2026 06:23:42 +0000 Subject: Use local label prefix for loop labels. --- src/lib/libcrypto/sha/sha1_aarch64_ce.S | 6 +++--- src/lib/libcrypto/sha/sha256_aarch64_ce.S | 6 +++--- src/lib/libcrypto/sha/sha512_aarch64_ce.S | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/sha/sha1_aarch64_ce.S b/src/lib/libcrypto/sha/sha1_aarch64_ce.S index 8ccf230298..bef969ca4e 100644 --- a/src/lib/libcrypto/sha/sha1_aarch64_ce.S +++ b/src/lib/libcrypto/sha/sha1_aarch64_ce.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sha1_aarch64_ce.S,v 1.1 2025/06/28 12:51:08 jsing Exp $ */ +/* $OpenBSD: sha1_aarch64_ce.S,v 1.2 2026/01/17 06:23:42 jsing Exp $ */ /* * Copyright (c) 2023,2025 Joel Sing * @@ -138,7 +138,7 @@ sha1_block_ce: ld1 {hc0.4s}, [ctx] ldr hc1s, [ctx, #(4*4)] -block_loop: +.Lblock_loop: /* Copy current hash state. */ mov hs0.4s, hc0.4s mov hs1s, hc1.s[0] @@ -205,7 +205,7 @@ block_loop: add hc1.4s, hc1.4s, hs1.4s sub num, num, #1 - cbnz num, block_loop + cbnz num, .Lblock_loop /* Store hash state to context. */ st1 {hc0.4s}, [ctx] diff --git a/src/lib/libcrypto/sha/sha256_aarch64_ce.S b/src/lib/libcrypto/sha/sha256_aarch64_ce.S index 15726827e6..1d9bb2e03e 100644 --- a/src/lib/libcrypto/sha/sha256_aarch64_ce.S +++ b/src/lib/libcrypto/sha/sha256_aarch64_ce.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sha256_aarch64_ce.S,v 1.2 2025/03/12 12:53:33 jsing Exp $ */ +/* $OpenBSD: sha256_aarch64_ce.S,v 1.3 2026/01/17 06:23:42 jsing Exp $ */ /* * Copyright (c) 2023,2025 Joel Sing * @@ -105,7 +105,7 @@ sha256_block_ce: */ ld1 {hc0.4s, hc1.4s}, [ctx] -block_loop: +.Lblock_loop: mov k256, k256_base /* Copy current hash state. */ @@ -156,7 +156,7 @@ block_loop: add hc1.4s, hc1.4s, hs1.4s sub num, num, #1 - cbnz num, block_loop + cbnz num, .Lblock_loop /* Store hash state to context. */ st1 {hc0.4s, hc1.4s}, [ctx] diff --git a/src/lib/libcrypto/sha/sha512_aarch64_ce.S b/src/lib/libcrypto/sha/sha512_aarch64_ce.S index 89109a78ba..2d41e699ce 100644 --- a/src/lib/libcrypto/sha/sha512_aarch64_ce.S +++ b/src/lib/libcrypto/sha/sha512_aarch64_ce.S @@ -1,4 +1,4 @@ -/* $OpenBSD: sha512_aarch64_ce.S,v 1.1 2025/03/12 14:13:41 jsing Exp $ */ +/* $OpenBSD: sha512_aarch64_ce.S,v 1.2 2026/01/17 06:23:42 jsing Exp $ */ /* * Copyright (c) 2023,2025 Joel Sing * @@ -177,7 +177,7 @@ sha512_block_ce: */ ld1 {hc0.2d, hc1.2d, hc2.2d, hc3.2d}, [ctx] -block_loop: +.Lblock_loop: mov k512, k512_base /* Copy current hash state. */ @@ -271,7 +271,7 @@ block_loop: add hc3.2d, hc3.2d, hs3.2d sub num, num, #1 - cbnz num, block_loop + cbnz num, .Lblock_loop /* Store hash state to context. */ st1 {hc0.2d, hc1.2d, hc2.2d, hc3.2d}, [ctx] -- cgit v1.2.3-55-g6feb