summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/sha/sha1_aarch64_ce.S6
-rw-r--r--src/lib/libcrypto/sha/sha256_aarch64_ce.S6
-rw-r--r--src/lib/libcrypto/sha/sha512_aarch64_ce.S6
3 files changed, 9 insertions, 9 deletions
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 @@
1/* $OpenBSD: sha1_aarch64_ce.S,v 1.1 2025/06/28 12:51:08 jsing Exp $ */ 1/* $OpenBSD: sha1_aarch64_ce.S,v 1.2 2026/01/17 06:23:42 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2023,2025 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2023,2025 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -138,7 +138,7 @@ sha1_block_ce:
138 ld1 {hc0.4s}, [ctx] 138 ld1 {hc0.4s}, [ctx]
139 ldr hc1s, [ctx, #(4*4)] 139 ldr hc1s, [ctx, #(4*4)]
140 140
141block_loop: 141.Lblock_loop:
142 /* Copy current hash state. */ 142 /* Copy current hash state. */
143 mov hs0.4s, hc0.4s 143 mov hs0.4s, hc0.4s
144 mov hs1s, hc1.s[0] 144 mov hs1s, hc1.s[0]
@@ -205,7 +205,7 @@ block_loop:
205 add hc1.4s, hc1.4s, hs1.4s 205 add hc1.4s, hc1.4s, hs1.4s
206 206
207 sub num, num, #1 207 sub num, num, #1
208 cbnz num, block_loop 208 cbnz num, .Lblock_loop
209 209
210 /* Store hash state to context. */ 210 /* Store hash state to context. */
211 st1 {hc0.4s}, [ctx] 211 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 @@
1/* $OpenBSD: sha256_aarch64_ce.S,v 1.2 2025/03/12 12:53:33 jsing Exp $ */ 1/* $OpenBSD: sha256_aarch64_ce.S,v 1.3 2026/01/17 06:23:42 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2023,2025 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2023,2025 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -105,7 +105,7 @@ sha256_block_ce:
105 */ 105 */
106 ld1 {hc0.4s, hc1.4s}, [ctx] 106 ld1 {hc0.4s, hc1.4s}, [ctx]
107 107
108block_loop: 108.Lblock_loop:
109 mov k256, k256_base 109 mov k256, k256_base
110 110
111 /* Copy current hash state. */ 111 /* Copy current hash state. */
@@ -156,7 +156,7 @@ block_loop:
156 add hc1.4s, hc1.4s, hs1.4s 156 add hc1.4s, hc1.4s, hs1.4s
157 157
158 sub num, num, #1 158 sub num, num, #1
159 cbnz num, block_loop 159 cbnz num, .Lblock_loop
160 160
161 /* Store hash state to context. */ 161 /* Store hash state to context. */
162 st1 {hc0.4s, hc1.4s}, [ctx] 162 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 @@
1/* $OpenBSD: sha512_aarch64_ce.S,v 1.1 2025/03/12 14:13:41 jsing Exp $ */ 1/* $OpenBSD: sha512_aarch64_ce.S,v 1.2 2026/01/17 06:23:42 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2023,2025 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2023,2025 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -177,7 +177,7 @@ sha512_block_ce:
177 */ 177 */
178 ld1 {hc0.2d, hc1.2d, hc2.2d, hc3.2d}, [ctx] 178 ld1 {hc0.2d, hc1.2d, hc2.2d, hc3.2d}, [ctx]
179 179
180block_loop: 180.Lblock_loop:
181 mov k512, k512_base 181 mov k512, k512_base
182 182
183 /* Copy current hash state. */ 183 /* Copy current hash state. */
@@ -271,7 +271,7 @@ block_loop:
271 add hc3.2d, hc3.2d, hs3.2d 271 add hc3.2d, hc3.2d, hs3.2d
272 272
273 sub num, num, #1 273 sub num, num, #1
274 cbnz num, block_loop 274 cbnz num, .Lblock_loop
275 275
276 /* Store hash state to context. */ 276 /* Store hash state to context. */
277 st1 {hc0.2d, hc1.2d, hc2.2d, hc3.2d}, [ctx] 277 st1 {hc0.2d, hc1.2d, hc2.2d, hc3.2d}, [ctx]