ecc: Add checking key for ECDSA.
* cipher/ecc-ecdsa.c (_gcry_ecc_ecdsa_verify): Validate public key. * cipher/ecc-gost.c (_gcry_ecc_gost_verify): Likewise. * cipher/ecc-sm2.c (_gcry_ecc_sm2_verify): Likewise.
- GnuPG-bug-id: T5282
- Reported-by: Guido Vranken <guidovranken@gmail.com>
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>