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 21:59:23 +0000 (07:59 +1000)
commitb1d6d55ece1c26fa2829e2b819b038d7b6d692b4
tree7c4464ff06d20f6effe39381348000a37ac9db9e
parent8abfe72e8c1de1b95f50aa0d9134803b4d00070f
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