bn/asm/x86_64-mont5.pl: unify gather procedure in hardly used path
authorAndy Polyakov <appro@openssl.org>
Tue, 26 Jan 2016 15:50:10 +0000 (16:50 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 1 Mar 2016 11:21:43 +0000 (11:21 +0000)
commit515f3be47a0b58eec808cf365bc5e8ef6917266b
treeaa8982db1bd6fc0ad6132dbd93b04c95652806f5
parent25d14c6c29b53907bf614b9964d43cd98401a7fc
bn/asm/x86_64-mont5.pl: unify gather procedure in hardly used path
and reorganize/harmonize post-conditions.

Additional hardening following on from CVE-2016-0702

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