Home GnuPG
Diffusion GnuPG 34b628db4618

sm: Cleanup the use of GCRY_PK_ECC and GCRY_PK_ECDSA.

Description

sm: Cleanup the use of GCRY_PK_ECC and GCRY_PK_ECDSA.

* common/sexputil.c (pubkey_algo_to_string): New.
* sm/certcheck.c (do_encode_md): Replace GCRY_PK_ECDSA by GCRY_PK_ECC.
* sm/certreqgen-ui.c (check_keygrip): Add all ECC algorithms.
* sm/gpgsm.c (our_pk_test_algo): Also allow EdDSA.
* sm/verify.c (gpgsm_verify): Map ECC algo to ECDSA.  Use new pubkey
algo name function
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 8 2020, 2:14 PM
Parents
rGa759fa963a42: sm: Improve readability of the data verification output.
Branches
Unknown
Tags
Unknown