rsa: Add exponent blinding.
authorMarcus Brinkmann <mb@g10code.com>
Fri, 7 Jul 2017 12:03:10 +0000 (21:03 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Fri, 7 Jul 2017 12:03:10 +0000 (21:03 +0900)
commit8fd9f72e1b2e578e45c98c978cab4f6d47683d2c
tree7c88efa43252549b44dffb753734a635fc176e43
parent554ded4854758bf6ca268432fa087f946932a409
rsa: Add exponent blinding.

* cipher/rsa.c (secret_core_crt): Blind secret D with randomized
nonce R for mpi_powm computation.

--

Backport of libgcrypt 8725c99ffa41778f382ca97233183bcd687bb0ce.

Signed-off-by: Marcus Brinkmann <mb@g10code.com>
cipher/rsa.c