public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/files/
Date: Fri,  4 May 2018 07:18:33 +0000 (UTC)	[thread overview]
Message-ID: <1525418308.78d4a40a859636e46a150be8f53817faabb29744.polynomial-c@gentoo> (raw)

commit:     78d4a40a859636e46a150be8f53817faabb29744
Author:     Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Apr 28 07:58:59 2018 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri May  4 07:18:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78d4a40a

dev-libs/openssl: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/8189

 .../files/openssl-1.1.0g-CVE-2017-3738.patch       | 77 ----------------------
 1 file changed, 77 deletions(-)

diff --git a/dev-libs/openssl/files/openssl-1.1.0g-CVE-2017-3738.patch b/dev-libs/openssl/files/openssl-1.1.0g-CVE-2017-3738.patch
deleted file mode 100644
index 4b01feb8e87..00000000000
--- a/dev-libs/openssl/files/openssl-1.1.0g-CVE-2017-3738.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From e502cc86df9dafded1694fceb3228ee34d11c11a Mon Sep 17 00:00:00 2001
-From: Andy Polyakov <appro@openssl.org>
-Date: Fri, 24 Nov 2017 11:35:50 +0100
-Subject: [PATCH] bn/asm/rsaz-avx2.pl: fix digit correction bug in
- rsaz_1024_mul_avx2.
-
-Credit to OSS-Fuzz for finding this.
-
-CVE-2017-3738
-
-Reviewed-by: Rich Salz <rsalz@openssl.org>
----
- crypto/bn/asm/rsaz-avx2.pl | 15 +++++++--------
- 1 file changed, 7 insertions(+), 8 deletions(-)
-
-diff --git a/crypto/bn/asm/rsaz-avx2.pl b/crypto/bn/asm/rsaz-avx2.pl
-index 0c1b236ef98..46d746b7d0e 100755
---- a/crypto/bn/asm/rsaz-avx2.pl
-+++ b/crypto/bn/asm/rsaz-avx2.pl
-@@ -246,7 +246,7 @@
- 	vmovdqu		32*8-128($ap), $ACC8
- 
- 	lea	192(%rsp), $tp0			# 64+128=192
--	vpbroadcastq	.Land_mask(%rip), $AND_MASK
-+	vmovdqu	.Land_mask(%rip), $AND_MASK
- 	jmp	.LOOP_GRANDE_SQR_1024
- 
- .align	32
-@@ -1077,10 +1077,10 @@
- 	vpmuludq	32*6-128($np),$Yi,$TEMP1
- 	vpaddq		$TEMP1,$ACC6,$ACC6
- 	vpmuludq	32*7-128($np),$Yi,$TEMP2
--	 vpblendd	\$3, $ZERO, $ACC9, $ACC9	# correct $ACC3
-+	 vpblendd	\$3, $ZERO, $ACC9, $TEMP1	# correct $ACC3
- 	vpaddq		$TEMP2,$ACC7,$ACC7
- 	vpmuludq	32*8-128($np),$Yi,$TEMP0
--	 vpaddq		$ACC9, $ACC3, $ACC3		# correct $ACC3
-+	 vpaddq		$TEMP1, $ACC3, $ACC3		# correct $ACC3
- 	vpaddq		$TEMP0,$ACC8,$ACC8
- 
- 	mov	%rbx, %rax
-@@ -1093,7 +1093,9 @@
- 	 vmovdqu	-8+32*2-128($ap),$TEMP2
- 
- 	mov	$r1, %rax
-+	 vpblendd	\$0xfc, $ZERO, $ACC9, $ACC9	# correct $ACC3
- 	imull	$n0, %eax
-+	 vpaddq		$ACC9,$ACC4,$ACC4		# correct $ACC3
- 	and	\$0x1fffffff, %eax
- 
- 	 imulq	16-128($ap),%rbx
-@@ -1329,15 +1331,12 @@
- #	But as we underutilize resources, it's possible to correct in
- #	each iteration with marginal performance loss. But then, as
- #	we do it in each iteration, we can correct less digits, and
--#	avoid performance penalties completely. Also note that we
--#	correct only three digits out of four. This works because
--#	most significant digit is subjected to less additions.
-+#	avoid performance penalties completely.
- 
- $TEMP0 = $ACC9;
- $TEMP3 = $Bi;
- $TEMP4 = $Yi;
- $code.=<<___;
--	vpermq		\$0, $AND_MASK, $AND_MASK
- 	vpaddq		(%rsp), $TEMP1, $ACC0
- 
- 	vpsrlq		\$29, $ACC0, $TEMP1
-@@ -1770,7 +1769,7 @@
- 
- .align	64
- .Land_mask:
--	.quad	0x1fffffff,0x1fffffff,0x1fffffff,-1
-+	.quad	0x1fffffff,0x1fffffff,0x1fffffff,0x1fffffff
- .Lscatter_permd:
- 	.long	0,2,4,6,7,7,7,7
- .Lgather_permd:


             reply	other threads:[~2018-05-04  7:18 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-04  7:18 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-03  5:08 [gentoo-commits] repo/gentoo:master commit in: dev-libs/openssl/files/ Sam James
2023-12-31  2:38 Conrad Kostecki
2023-10-29  3:53 Sam James
2023-10-04 21:45 Conrad Kostecki
2023-05-25 14:59 Mike Gilbert
2023-03-19  3:22 Sam James
2023-02-22 19:34 Mike Gilbert
2023-02-08 17:17 Sam James
2022-08-19 23:00 Sam James
2022-04-25 10:11 WANG Xuerui
2021-02-12 22:35 Conrad Kostecki
2020-12-17 14:11 Andreas K. Hüttel
2020-04-02 14:56 Mike Gilbert
2019-11-24  0:44 Aaron Bauman
2018-10-31  8:06 Lars Wendler
2018-05-12 20:26 Robin H. Johnson
2016-08-26 17:56 Mike Gilbert
2016-02-26 22:51 Doug Goldstein
2016-01-17  9:01 Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1525418308.78d4a40a859636e46a150be8f53817faabb29744.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox