Home GnuPG

ecc: Make sure it's the fixed size bytes.

Description

ecc: Make sure it's the fixed size bytes.

* cipher/ecc-eddsa.c (_gcry_ecc_eddsa_decodepoint): Checking the size
of EC point representation, return GPG_ERR_INV_OBJ if not valid.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 14 2020, 4:39 AM
Parents
rCd0f995afe2e0: ecc: Detect the use of a Montgomery curve earlier in ecc_verify.
Branches
Unknown
Tags
Unknown