diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2021-04-13 10:00:00 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2021-04-13 10:00:00 +0900 |
commit | e8b7f10be275bcedb5fc05ed4837a89bfd605c61 (patch) | |
tree | fe4bfdb326b82a97746def31ca51efcb4f5a86a7 /random/rndlinux.c | |
parent | 9bc3d8de6e2a8cdef37c118f0a70376ed777eeee (diff) | |
download | libgcrypt-e8b7f10be275bcedb5fc05ed4837a89bfd605c61.tar.gz |
cipher: Hardening ElGamal by introducing exponent blinding too.
* cipher/elgamal.c (do_encrypt): Also do exponent blinding.
--
Base blinding had been introduced with USE_BLINDING. This patch add
exponent blinding as well to mitigate side-channel attack on mpi_powm.
GnuPG-bug-id: 5328
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'random/rndlinux.c')
0 files changed, 0 insertions, 0 deletions