Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Feb 2023 23:08:02 GMT
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 746c5cd56b36 - stable/12 - OpenSSL: Regen assembly files for OpenSSL 1.1.1t
Message-ID:  <202302072308.317N82kt081307@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by jkim:

URL: https://cgit.FreeBSD.org/src/commit/?id=746c5cd56b36b95a335911ee17ec89b9a6b9b9df

commit 746c5cd56b36b95a335911ee17ec89b9a6b9b9df
Author:     Jung-uk Kim <jkim@FreeBSD.org>
AuthorDate: 2023-02-07 18:55:17 +0000
Commit:     Jung-uk Kim <jkim@FreeBSD.org>
CommitDate: 2023-02-07 23:04:45 +0000

    OpenSSL: Regen assembly files for OpenSSL 1.1.1t
    
    (cherry picked from commit f1cf49002dbb0b1976ef1ebd8e689a7825e3e06f)
---
 secure/lib/libcrypto/amd64/e_padlock-x86_64.S | 2 ++
 secure/lib/libcrypto/i386/e_padlock-x86.S     | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/secure/lib/libcrypto/amd64/e_padlock-x86_64.S b/secure/lib/libcrypto/amd64/e_padlock-x86_64.S
index de2866844652..b19cf1d0b2d3 100644
--- a/secure/lib/libcrypto/amd64/e_padlock-x86_64.S
+++ b/secure/lib/libcrypto/amd64/e_padlock-x86_64.S
@@ -45,6 +45,8 @@ padlock_capability:
 .align	16
 padlock_key_bswap:
 	movl	240(%rdi),%edx
+	incl	%edx
+	shll	$2,%edx
 .Lbswap_loop:
 	movl	(%rdi),%eax
 	bswapl	%eax
diff --git a/secure/lib/libcrypto/i386/e_padlock-x86.S b/secure/lib/libcrypto/i386/e_padlock-x86.S
index 4ddc50bcaf58..58085b33679b 100644
--- a/secure/lib/libcrypto/i386/e_padlock-x86.S
+++ b/secure/lib/libcrypto/i386/e_padlock-x86.S
@@ -69,6 +69,8 @@ padlock_key_bswap:
 .L_padlock_key_bswap_begin:
 	movl	4(%esp),%edx
 	movl	240(%edx),%ecx
+	incl	%ecx
+	shll	$2,%ecx
 .L003bswap_loop:
 	movl	(%edx),%eax
 	bswap	%eax
@@ -1109,6 +1111,8 @@ padlock_key_bswap:
 .L_padlock_key_bswap_begin:
 	movl	4(%esp),%edx
 	movl	240(%edx),%ecx
+	incl	%ecx
+	shll	$2,%ecx
 .L003bswap_loop:
 	movl	(%edx),%eax
 	bswap	%eax



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302072308.317N82kt081307>