Home GnuPG
Diffusion GnuPG f44d395bdfec

sm: Support signing using ECDSA.

Description

sm: Support signing using ECDSA.

* sm/gpgsm.h (struct certlist_s): Add helper field pk_algo.
* sm/sign.c (gpgsm_sign): Store the public key algo.  Take the hash
algo from the curve.  Improve diagnostic output in verbose mode.
  • GnuPG-bug-id: T4098
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 11 2020, 6:41 PM
Parents
rG68b857df13c8: sm: Allow decryption using dhSinglePass-stdDH-sha1kdf-scheme.
Branches
Unknown
Tags
Unknown
Tasks
T4098: GpgSM: Add ECC support