bn/bn_exp.c: constant-time MOD_EXP_CTIME_COPY_FROM_PREBUF.
authorAndy Polyakov <appro@openssl.org>
Tue, 26 Jan 2016 10:34:41 +0000 (11:34 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 1 Mar 2016 11:24:05 +0000 (11:24 +0000)
commitd7a854c055ff22fb7da80c3b0e7cb08d248591d0
tree679598a1bb7b784300e19918e335104e0efb3edf
parentabd5d8fbef7085499ba7785622da4e8288068f46
bn/bn_exp.c: constant-time MOD_EXP_CTIME_COPY_FROM_PREBUF.

Performance penalty varies from platform to platform, and even
key length. For rsa2048 sign it was observed to reach almost 10%.

CVE-2016-0702

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/bn/bn_exp.c