Home GnuPG
Diffusion GnuPG 5efabec21883

gpg:ecc: Use the common function of gnupg_get_ecc_params.

Description

gpg:ecc: Use the common function of gnupg_get_ecc_params.

* g10/pkglue.c (do_encrypt_kem): From ECC_OID, determine the CURVE by
openpgp_oid_to_curve, and then use gnupg_get_ecc_params to get ECC
parameters.
(do_encrypt_ecdh): Likewise.
  • GnuPG-bug-id: T7698
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Fri, Jul 4, 7:22 AM
Parents
rG5ab9d59ee19e: common:ecc: Have a field if the curve of ECC is Weierstrass.
Branches
Unknown
Tags
Unknown
Tasks
T7698: Add support of secp256k1 for KEM API