Home GnuPG

ecc: Fix _gcry_mpi_ec_p_new to allow secp256k1.
49edeebb4317Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

ecc: Fix _gcry_mpi_ec_p_new to allow secp256k1.

* mpi/ec.c (_gcry_mpi_ec_p_new): Remove checking a!=0.
* tests/t-mpi-point.c (context_alloc): Remove two spurious tests.

It is no problem when a==0.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 15 2014, 4:41 AM
Parents
rC04cda6b7cc16: PBKDF2: Use gcry_md_reset to speed up calculation.
Branches
Unknown
Tags
Unknown

Event Timeline

NIIBE Yutaka <gniibe@fsij.org> committed rC49edeebb4317: ecc: Fix _gcry_mpi_ec_p_new to allow secp256k1. (authored by NIIBE Yutaka <gniibe@fsij.org>).Jan 15 2014, 4:41 AM