Home GnuPG

ecc: Simplify ecc_encrypt_raw and ecc_decrypt_raw.

Description

ecc: Simplify ecc_encrypt_raw and ecc_decrypt_raw.

* cipher/ecc.c (ecc_encrypt_raw): Use elliptic_curve_t directly.
(ecc_decrypt_raw): Likewise.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 21 2019, 4:13 AM
Parents
rC61a051828253: ecc: More fixes for cofactor with PUBKEY_FLAG_PARAM.
Branches
Unknown
Tags
Unknown