diff options
author | Werner Koch <[email protected]> | 2023-07-07 08:21:39 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-07-07 08:21:39 +0000 |
commit | 9f39e4da29feba854fbbe4ab6b9f3c68d34c2058 (patch) | |
tree | bc591fa670dfc9d38dfcaf180079f78a5c82eee2 /g10/plaintext.c | |
parent | kbx: Fix memory leak at spawning a thread for data pipe. (diff) | |
download | gnupg-9f39e4da29feba854fbbe4ab6b9f3c68d34c2058.tar.gz gnupg-9f39e4da29feba854fbbe4ab6b9f3c68d34c2058.zip |
gpg: Add algo constants for PQC.
* common/openpgpdefs.h (PUBKEY_ALGO_KY768_25519): New.
(PUBKEY_ALGO_KY1024_448): New.
(PUBKEY_ALGO_DIL3_25519): New.
(PUBKEY_ALGO_DIL5_448): New.
(PUBKEY_ALGO_SPHINX_SHA2): New.
* g10/keygen.c (parse_key_parameter_part): Force v5 keys for these
algos.
* g10/keyid.c (pubkey_string): Add mapping.
* g10/misc.c (openpgp_pk_algo_usage): Add standard key usage.
--
See draft-wussler-openpgp-pqc-01.txt for the code points. To limit
the number of algorithms, only MUST and SHOULD algorithms are
considered.
Diffstat (limited to 'g10/plaintext.c')
0 files changed, 0 insertions, 0 deletions