Home GnuPG
Diffusion GnuPG 52c4b0908043

gpg: Some support to allow Kyber decryption.

Description

gpg: Some support to allow Kyber decryption.

* g10/call-agent.c (agent_pkdecrypt): Support dual keygrips and switch
to KEM mode.
* g10/ecdh.c (pk_ecdh_decrypt): Add an extra length check.
* g10/keyid.c (do_hash_public_key): Fix Kyber fingerprint computation.
* g10/mainproc.c (release_list): Free all 4 data elements.
(proc_pubkey_enc): Copy all 4 data elements.
* g10/misc.c (openpgp_pk_test_algo2): Map Kyber to KEM.
* g10/parse-packet.c (parse_pubkeyenc): Fix Kyber parser.
* g10/pubkey-enc.c (get_session_key): Allow Kyber.
(get_it): Support Kyber.

Details

Provenance
wernerAuthored on Apr 9 2024, 11:00 AM
Parents
rG1a37f0080b3e: kbx: Support kyber in the blob parser.
Branches
Unknown
Tags
Unknown
Tasks
T6815: PQC encryption for GnuPG