Home GnuPG

Support creation of ECDH enveloped data object (part 2 of 2)

Description

Support creation of ECDH enveloped data object (part 2 of 2)

* src/cms.c (build_enveloped_data_header): Write out ECDH info.

This finishes the building of CMS EnvelopeData for ECDH. Tested with
one and two keys (also mixed RSA and ECDH) but only only with
t-cms-parser and GnuPG master and not against any other
implementation.

  • GnuPG-bug-id: T4920
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 4 2020, 2:52 PM
Parents
rKbe1b4416afc3: Add a dedicated BIT STRING function to the new DER builder.
Branches
Unknown
Tags
Unknown
Tasks
T4920: Support ECDH in Libksba