Home GnuPG

Fix multiply by zero in gcry_mpi_ec_mul.
78cd0ba8a8ecUnpublished

Unpublished Commit · Learn More

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

Description

Fix multiply by zero in gcry_mpi_ec_mul.

* mpi/ec.c (_gcry_mpi_ec_mul_point): Handle case of SCALAR == 0.
* tests/t-mpi-point.c (basic_ec_math): Add a test case for this.
  • Signed-off-by: Werner Koch <wk@wheatstone.g10code.de>

Details

Provenance
wernerAuthored on Apr 16 2013, 6:59 PM
Parents
rCbd3afc27459a: Add macros to return pre-defined MPIs.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@wheatstone.g10code.de> committed rC78cd0ba8a8ec: Fix multiply by zero in gcry_mpi_ec_mul. (authored by Werner Koch <wk@wheatstone.g10code.de>).Apr 16 2013, 6:59 PM