Home GnuPG

tests/t-mpi-point: add NIST curve multiplication test vectors

Description

tests/t-mpi-point: add NIST curve multiplication test vectors

* tests/t-mpi-point.c (mpi_base10_scan, check_ec_mul): New.
(main): Call 'check_ec_mul'.

These vectors are from: http://point-at-infinity.org/ecc/nisttv

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Apr 24 2021, 4:13 PM
wernerCommitted on Aug 22 2021, 2:59 PM
Parents
rC64e4a6a2a436: ecc: Fix bug in gcry_pk_get_param for Curve25519.
Branches
Unknown
Tags
Unknown