1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00
gnupg/agent
NIIBE Yutaka 681d754043
gpg,agent: Clean up around using ECC KEM.
* common/util.h (gnupg_ecc_kem_kdf): Change the last two args.
* common/kem.c (gnupg_ecc_kem_kdf): The last arguments are KDF_PARAMS
and its length.
* agent/pkdecrypt.c (composite_pgp_kem_decrypt): Follow the change.
* g10/pkglue.c (do_encrypt_kem): Follow the change.
* g10/ecdh.c (extract_secret_x, derive_kek): Remove.
(gnupg_ecc_6637_kdf): Remove.
(ecc_build_kdf_params): Rename from build_kdf_params, changing
arguments.
* g10/pkglue.c (do_encrypt_ecdh): Refactor by ecc_build_kdf_params and
gnupg_ecc_kem_kdf.
* g10/pkglue.h (pk_ecdh_decrypt, gnupg_ecc_6637_kdf): Remove.
(ecc_build_kdf_params): New.
* g10/pubkey-enc.c (ecdh_sexp_build): Use ecc_build_kdf_params.

--

GnuPG-bug-id: 7649
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2025-05-23 16:59:38 +09:00
..
agent.h agent: Add support for TPM2 for ECC KEM. 2025-05-22 14:34:05 +09:00
all-tests.scm tests: Support semihosted environment. 2022-12-01 13:59:06 +09:00
cache.c agent: Recover the old behavior with max-cache-ttl=0. 2025-05-13 09:03:09 +09:00
call-daemon.c agent: Fix resource leak for PRIMARY_CTX. 2024-10-22 09:51:03 +09:00
call-pinentry.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
call-scd.c gpgsm: Extend --learn-card by an optional s/n argument. 2025-03-17 17:37:08 +01:00
call-tpm2d.c agent:daemon: Add an argument to specify requiring socket connection. 2024-06-27 15:26:25 +09:00
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
command-ssh.c agent: Fix ssh-agent's request_identities for skipped keys. 2025-01-22 16:12:49 +01:00
command.c agent: Finish ECC KEM, adding support for NIST curves. 2025-05-22 14:29:51 +09:00
cvt-openpgp.c gpg: Allow to create a Kyber key from keygrips. 2024-04-05 16:16:53 +02:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent: We should use a macro for the keygrip len in new code. 2025-05-13 09:56:59 +02:00
divert-tpm2.c agent: Add support for TPM2 for ECC KEM. 2025-05-22 14:34:05 +09:00
findkey.c agent: Support the use case of composite PQC for prompting. 2025-05-14 11:41:31 +09:00
genkey.c Use gpgrt_process_spawn API from libgpg-error. 2024-07-09 10:04:16 +09:00
gpg-agent-w32info.rc w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
gpg-agent.c Revert "w32: On socket nonce mismatch close the socket." 2025-05-16 14:26:45 +02:00
gpg-agent.w32-manifest.in w32: Add missing supportedOS Ids for Windows-10 2023-05-24 14:17:06 +02:00
learncard.c gpgsm: Extend --learn-card by an optional s/n argument. 2025-03-17 17:37:08 +01:00
Makefile.am w32: Add missing manifests and set a requestedExecutionLevel. 2023-05-24 12:14:06 +02:00
pkdecrypt.c gpg,agent: Clean up around using ECC KEM. 2025-05-23 16:59:38 +09:00
pksign.c agent: Add "ephemeral" Assuan option. 2024-01-22 16:49:54 +01:00
preset-passphrase.c agent: New option --restricted for PRESET_PASSPHRASE. 2023-03-27 11:47:28 +02:00
protect-tool.c agent: Add "ephemeral" Assuan option. 2024-01-22 16:49:54 +01:00
protect.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
sexp-secret.c indent: Fix spelling 2024-05-31 12:28:32 +02:00
t-protect.c agent: Make --disable-extended-key-format a dummy option. 2023-03-13 08:53:50 +01:00
trans.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
trustlist.c agent: Fix status output for LISTTRUSTED. 2024-10-31 09:33:40 +01:00
w32main.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00