ecdsa: Fix unblinding too early.

Authored by gniibe on Aug 9 2019, 4:53 AM.

Description

ecdsa: Fix unblinding too early.

* cipher/ecc-ecdsa.c (_gcry_ecc_ecdsa_sign): Keep the blinding until
the last step.

Cherry-picked master commit of:
cdaeb86f067b94d9dff4235ade20dde6479d9bb8

  • Suggested-by: Samuel Weiser <samuel.weiser@iaik.tugraz.at>
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeAug 16 2019, 1:55 AM
Parents
rCdb4e9976cc31: dsa,ecdsa: Fix use of nonce, use larger one.
Branches
Unknown
Tags
Unknown