Home GnuPG
Diffusion GnuPG 49c891a9bfac

common: Add OpenPGP<->Gcrypt pubkey id mapping functions.

Description

common: Add OpenPGP<->Gcrypt pubkey id mapping functions.

* g10/misc.c (map_pk_gcry_to_openpgp): Move to ...
* common/openpgp-oid.c (map_gcry_pk_to_openpgp): here and rename.
Change all 4 callers.
(map_openpgp_pk_to_gcry): New.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Feb 9 2020, 2:00 PM
Parents
rG9df9996b415e: card: Support brainpool curves in the generate command.
Branches
Unknown
Tags
Unknown