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 5e623b71d5
common:kem: Factor out a function to retrieve ECC parameters.
* common/util.h (struct gnupg_ecc_params, gnupg_get_ecc_params): New.
(ECC_SCALAR_LEN_MAX, ECC_POINT_LEN_MAX, ECC_HASH_LEN_MAX): New.
* agent/pkdecrypt.c (ecc_extract_pk_from_key, ecc_extract_sk_from_key):
Follow the change of gnupg_get_ecc_params.
(ecc_raw_kem, ecc_pgp_kem_decap, composite_pgp_kem_decrypt): Likewise.
(ecc_kem_decrypt): Likewise.
(get_ecc_params): Move to...
* common/kem.c (gnupg_get_ecc_params): ... here
* g10/pkglue.c (ECC_POINT_LEN_MAX, ECC_HASH_LEN_MAX): Remove duplicates.

--

GnuPG-bug-id: 7649
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2025-07-03 15:45:52 +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: Allow building under Cygwin. 2025-05-27 11:14:37 +02: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 common:kem: Factor out a function to retrieve ECC parameters. 2025-07-03 15:45:52 +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