Timing vulnerability in ECDSA signature generation (CVE-2018-0735)
authorPauli <paul.dale@oracle.com>
Fri, 26 Oct 2018 00:54:58 +0000 (10:54 +1000)
committerPauli <paul.dale@oracle.com>
Sun, 28 Oct 2018 22:05:06 +0000 (08:05 +1000)
commit56fb454d281a023b3f950d969693553d3f3ceea1
treea9f25f5566990c1bd92bba813d5ac8d576ace41c
parentef11e19d1365eea2b1851e6f540a0bf365d303e7
Timing vulnerability in ECDSA signature generation (CVE-2018-0735)

Preallocate an extra limb for some of the big numbers to avoid a reallocation
that can potentially provide a side channel.

Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/7486)

(cherry picked from commit 99540ec79491f59ed8b46b4edf130e17dc907f52)
crypto/ec/ec_mult.c