ecc: update GOST2012 curves

Authored by Paul Wolneykien <manowar@altlinux.org> on Nov 12 2019, 8:40 PM.

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

Committed
wernerNov 18 2019, 9:24 PM
Parents
rCbdbd032d1626: ec: fix left shift overflows on WIN64 build
Branches
Unknown
Tags
Unknown
werner committed rCa3a866f63e7a: ecc: update GOST2012 curves (authored by Paul Wolneykien <manowar@altlinux.org>).Nov 18 2019, 9:24 PM