Home GnuPG

Support creation of ECDH enveloped data object (part 1)

Description

Support creation of ECDH enveloped data object (part 1)

* src/cms.h (struct enc_val_s): Add new fields for ECDH.
* src/cms.c: Include der-builder.h
(log_sexp): New but commented debug helper.
(ksba_cms_release): Free new ECDH values.
(ksba_cms_set_enc_val): Support ECDH.
(build_enveloped_data_header): Rewrite to make use of the new DER
builder.
  • GnuPG-bug-id: T4920
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 1 2020, 4:57 PM
Parents
rKcf49d3e60a67: Add a new DER builder for internal use.
Branches
Unknown
Tags
Unknown
Tasks
T4920: Support ECDH in Libksba