Home GnuPG
Diffusion GnuPG 5ab9d59ee19e

common:ecc: Have a field if the curve of ECC is Weierstrass.

Description

common:ecc: Have a field if the curve of ECC is Weierstrass.

* common/util.h (struct gnupg_ecc_params): Add is_weierstrauss.
* common/kem.c (ecc_table): Update.  Also add secp256k1.
  • GnuPG-bug-id: T7698
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Fri, Jul 4, 7:19 AM
Parents
rG5e623b71d5ce: common:kem: Factor out a function to retrieve ECC parameters.
Branches
Unknown
Tags
Unknown
Tasks
T7698: Add support of secp256k1 for KEM API