Home GnuPG
Diffusion GnuPG ee6d29f1797e

sm: Support decryption of ECDH data using a smartcard.

Description

sm: Support decryption of ECDH data using a smartcard.

* sm/decrypt.c (ecdh_decrypt): Add arg nbits and detect bare secret.
(prepare_decryption): Add arg nbits and pass on.
(gpgsm_decrypt): Pass size of curve to prepare_decryption.
  • GnuPG-bug-id: T4098
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 7 2020, 8:03 AM
Parents
rG314859d7e7de: scd: Extend an internal function to also return the algo.
Branches
Unknown
Tags
Unknown
Tasks
T4098: GpgSM: Add ECC support