1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-01 22:28:02 +02:00
gnupg/sm
Werner Koch 95d83cf906
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 <wk@gnupg.org>
2020-04-23 09:59:13 +02:00
..
call-agent.c gpg: Use gpgrt's new option parser to provide a global conf file. 2020-02-20 11:13:32 +01:00
call-dirmngr.c sm: Lookup missing issuers first using authorityInfoAccess. 2020-04-16 18:03:13 +02:00
certchain.c sm: Always allow authorityInfoAccess lookup if CRLs are also enabled. 2020-04-16 19:05:49 +02:00
certcheck.c sm,dirmngr: Restrict allowed parameters used with rsaPSS. 2020-04-15 11:06:59 +02:00
certdump.c sm: Fix a warning in an es_fopencooie function. 2020-04-01 09:58:11 +02:00
certlist.c sm: Print a better diagnostic for encryption certificate selection. 2019-06-04 09:24:03 +02:00
certreqgen-ui.c common: Extend function pubkey_algo_string. 2019-04-02 18:50:55 +02:00
certreqgen.c sm: Fix possible NULL deref in error messages of --gen-key. 2020-03-30 17:16:30 +02:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
decrypt.c sm: Support decryption of ECDH data. 2020-04-23 09:59:13 +02:00
delete.c sm: Change keydb code to use the keybox locking. 2019-05-14 13:36:08 +02:00
encrypt.c gpg,sm: String changes for compliance diagnostics. 2017-07-28 17:46:43 +02:00
export.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
fingerprint.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
gpgsm-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpgsm.c sm: Consider certificates w/o CRL DP as valid. 2020-03-27 21:16:07 +01:00
gpgsm.h sm: Lookup missing issuers first using authorityInfoAccess. 2020-04-16 18:03:13 +02:00
import.c sm: Support import of PKCS#12 encoded ECC private keys. 2020-04-21 21:05:39 +02:00
keydb.c Merge branch 'switch-to-gpgk' into master 2019-09-27 15:44:23 +02:00
keydb.h sm: Add a couple of debug calls to the keydb module. 2019-05-15 08:52:21 +02:00
keylist.c sm: Lookup missing issuers first using authorityInfoAccess. 2020-04-16 18:03:13 +02:00
Makefile.am Remove -I option to common. 2017-03-07 20:25:54 +09:00
minip12.c sm: Support import of PKCS#12 encoded ECC private keys. 2020-04-21 21:05:39 +02:00
minip12.h sm: Support import of PKCS#12 encoded ECC private keys. 2020-04-21 21:05:39 +02:00
misc.c sm: Prepare algo mapping to handle values > 255. 2019-02-21 08:51:50 +01:00
passphrase.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
passphrase.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
qualified.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
server.c sm: New option --issuer-der for the listkey commands. 2020-02-03 14:54:23 +01:00
sign.c sm: Replace some debug message by log_error or log_info 2020-04-21 21:05:32 +02:00
verify.c sm: Support rsaPSS verification also for CMS signatures. 2020-04-14 15:46:04 +02:00