bn/bn_exp.c: harmonize all code paths with last commit.
authorAndy Polyakov <appro@openssl.org>
Wed, 13 Jun 2018 12:00:04 +0000 (14:00 +0200)
committerAndy Polyakov <appro@openssl.org>
Thu, 14 Jun 2018 19:27:08 +0000 (21:27 +0200)
commit3f0c3d2263cd98dd3bcd366f199f0df7c9887d81
tree6dc20856cea29d469f364b1609a894d7af482aae
parent82b6b0848cea95de821a7f901bd8b0b5dab17fa4
bn/bn_exp.c: harmonize all code paths with last commit.

848113a30b431c2fe21ae8de2a366b9b6146fb92 added mitigation for a
side-channel attack. This commit extends approach to all code
paths for consistency.

[It also removes redundant white spaces introduced in last commit.]

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6480)
crypto/bn/bn_exp.c