mirror of
https://github.com/openbsd/src.git
synced 2026-04-30 00:56:33 +00:00
Use local label prefix for loop labels.
This commit is contained in:
@@ -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 <jsing@openbsd.org>
|
||||
*
|
||||
@@ -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]
|
||||
|
||||
@@ -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 <jsing@openbsd.org>
|
||||
*
|
||||
@@ -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]
|
||||
|
||||
@@ -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 <jsing@openbsd.org>
|
||||
*
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user