Home GnuPG

cipher:pubkey: Factor out data SEXP preparation.

Description

cipher:pubkey: Factor out data SEXP preparation.

* cipher/pubkey.c (prepare_datasexp_to_be_signed): New.
(_gcry_pk_sign_md, _gcry_pk_verify_md): Use the function.
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jun 12 2023, 5:00 AM
Parents
rCe0f7e927c594: cipher: Factor functions for ECC selftests.
Branches
Unknown
Tags
Unknown