diff options
| author | Werner Koch <[email protected]> | 2020-04-23 07:59:13 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2020-04-23 07:59:13 +0000 |
| commit | 95d83cf906177fe9f00e88ae42d4c118c7db4371 (patch) | |
| tree | c0fa2ef4509be6bab11e2dcef543efc35d701aa2 /sm/encrypt.c | |
| parent | common: Add functions to help create DER objects. (diff) | |
| download | gnupg-95d83cf906177fe9f00e88ae42d4c118c7db4371.tar.gz gnupg-95d83cf906177fe9f00e88ae42d4c118c7db4371.zip | |
sm: Support decryption of ECDH data.
* sm/decrypt.c: Include tlv.h.
(string_from_gcry_buffer): New.
(hash_ecc_cms_shared_info): New.
(ecdh_decrypt): New.
(prepare_decryption): Support ECDH. Add arg pk_algo.
(gpgsm_decrypt): Lift some variables from an inner code block.
--
Note: This has only been tested with a single messages created by
OpenSSL and taken from the Mozilla bug tracker. In particular the
code to included UserKeyingMaterial (ukm) has not been tested.
GnuPG-bug-id: 4098
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'sm/encrypt.c')
0 files changed, 0 insertions, 0 deletions
