summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2025-01-18 02:56:07 +0000
committerjsing <>2025-01-18 02:56:07 +0000
commit00e03841df1e86468f659dfbed0a2fa7ae378896 (patch)
tree2e19c23c5ceb2696fa9f1dcb4dbcfe0bb5b5994f
parent5312654d515bc918faa1fb9a0ada0664cae7202f (diff)
downloadopenbsd-00e03841df1e86468f659dfbed0a2fa7ae378896.tar.gz
openbsd-00e03841df1e86468f659dfbed0a2fa7ae378896.tar.bz2
openbsd-00e03841df1e86468f659dfbed0a2fa7ae378896.zip
Use name instead of register.
-rw-r--r--src/lib/libcrypto/sha/sha1_amd64_generic.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/sha/sha1_amd64_generic.S b/src/lib/libcrypto/sha/sha1_amd64_generic.S
index d3e184dbca..38f49b0c3c 100644
--- a/src/lib/libcrypto/sha/sha1_amd64_generic.S
+++ b/src/lib/libcrypto/sha/sha1_amd64_generic.S
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha1_amd64_generic.S,v 1.1 2024/12/04 13:13:33 jsing Exp $ */ 1/* $OpenBSD: sha1_amd64_generic.S,v 1.2 2025/01/18 02:56:07 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2024 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -180,9 +180,9 @@ sha1_block_generic:
180 andq $~63, %rsp 180 andq $~63, %rsp
181 movq %rax, (64+0*8)(%rsp) 181 movq %rax, (64+0*8)(%rsp)
182 182
183 /* Compute and store end of message. */ 183 /* Compute end of message. */
184 shlq $6, num 184 shlq $6, num
185 leaq (in, num, 1), %rbp 185 leaq (in, num, 1), end
186 186
187 /* Load current hash state from context. */ 187 /* Load current hash state from context. */
188 movl (0*4)(ctx), hs0 188 movl (0*4)(ctx), hs0