bn/bn_exp.c: constant-time MOD_EXP_CTIME_COPY_FROM_PREBUF.
authorAndy Polyakov <appro@openssl.org>
Mon, 25 Jan 2016 19:38:38 +0000 (20:38 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 1 Mar 2016 13:34:22 +0000 (13:34 +0000)
commitd6482a82bc2228327aa4ba98aeeecd9979542a31
tree4d40d67f6b0bf1772b315ac302d99e89f3434478
parent2e0956ba6dd04ae80d54eb4e03bed5a59e2a94c7
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>
Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/bn/bn_exp.c