Home GnuPG

ecc: update GOST2012 curves

Description

ecc: update GOST2012 curves

* cipher/ecc-curves.c (domain_parms): rename GOST 2012 curves to contain
  curve bit size
  (curve_aliases): rename curves, provide backwards-compatible
  aliases, add new OIDs and two new curves.
* cipher/ecc-curves.c (curve_aliases): add new OIDs and aliases for
* tests/basic.c (check_pubkey): use new name for GOST2012 512-bit test
  curve.
* tests/benchmark.c (ecc_bench): use new name for GOST2012 512-bit test
  curve.

Rename old GOST2012 curves to specifically mention that they are 512-bit
curves, add new OIDs for old curves and add two new curves.

  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Provenance
Paul Wolneykien <manowar@altlinux.org>Authored on Nov 12 2019, 8:40 PM
wernerCommitted on Nov 18 2019, 9:24 PM
Parents
rCbdbd032d1626: ec: fix left shift overflows on WIN64 build
Branches
Unknown
Tags
Unknown

Event Timeline