summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2025-01-18 02:56:07 +0000
committerjsing <>2025-01-18 02:56:07 +0000
commitc79c1646d28571d60ad8157510b2f311aa3d348e (patch)
tree2e19c23c5ceb2696fa9f1dcb4dbcfe0bb5b5994f /src
parentbf1551a0f03338fce357250c7629ebb05763400b (diff)
downloadopenbsd-c79c1646d28571d60ad8157510b2f311aa3d348e.tar.gz
openbsd-c79c1646d28571d60ad8157510b2f311aa3d348e.tar.bz2
openbsd-c79c1646d28571d60ad8157510b2f311aa3d348e.zip
Use name instead of register.
Diffstat (limited to 'src')
-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