bn/asm/rsaz-avx2.pl: constant-time gather procedure.
authorAndy Polyakov <appro@openssl.org>
Mon, 25 Jan 2016 22:25:40 +0000 (23:25 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 1 Mar 2016 11:21:22 +0000 (11:21 +0000)
commit08ea966c01a39e38ef89e8920d53085e4807a43a
treedf15f5b8204f0ab53d6a1f51dffaa5654902e5ca
parentef98503eeef5c108018081ace902d28e609f7772
bn/asm/rsaz-avx2.pl: constant-time gather procedure.

Performance penalty is 2%.

CVE-2016-0702

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from master)
crypto/bn/asm/rsaz-avx2.pl
crypto/bn/asm/rsaz-x86_64.pl