diff options
| author | NIIBE Yutaka <[email protected]> | 2024-04-10 02:09:29 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2024-04-10 02:09:29 +0000 |
| commit | 04b81ec236cf66987a77e0aaafd9f2363daac60c (patch) | |
| tree | 2c9450ae19a95cb66ea4fa12fd3fdf1460205e21 /common/openpgp-oid.c | |
| parent | gpg: Some support to allow Kyber decryption. (diff) | |
| download | gnupg-04b81ec236cf66987a77e0aaafd9f2363daac60c.tar.gz gnupg-04b81ec236cf66987a77e0aaafd9f2363daac60c.zip | |
common,agent: Factor out KEM functions into common/kem.c.
* common/util.h (compute_kmac256): Remove.
(gnupg_ecc_kem_kdf, gnupg_kem_combiner): New.
* common/kmac.c (compute_kmac256): Don't expose.
(gnupg_ecc_kem_kdf, gnupg_kem_combiner): New.
* agent/pkdecrypt.c (agent_hybrid_pgp_kem_decrypt): Use
gnupg_ecc_kem_kdf and gnupg_kem_combiner.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/openpgp-oid.c')
0 files changed, 0 insertions, 0 deletions
