diff options
author | Werner Koch <[email protected]> | 2024-11-14 11:31:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-11-14 11:31:21 +0000 |
commit | 62b6c1f16ae0ed7b0eb1b095ee383aa0910314bb (patch) | |
tree | 1a5bde52c798a8c6c9406c24a971b8ce7c3868e1 /src/gpgme.h.in | |
parent | Post release updates (diff) | |
download | gpgme-62b6c1f16ae0ed7b0eb1b095ee383aa0910314bb.tar.gz gpgme-62b6c1f16ae0ed7b0eb1b095ee383aa0910314bb.zip |
Support the Kyber algorithm in key listings.
* src/gpgme.h.in (GPGME_PK_KYBER): New.
* src/conversion.c (_gpgme_map_pk_algo): Handle Kyber.
* src/gpgme.c (gpgme_pubkey_algo_string): Support Kyber.
(gpgme_pubkey_algo_name): Add Kyber.
Diffstat (limited to 'src/gpgme.h.in')
-rw-r--r-- | src/gpgme.h.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpgme.h.in b/src/gpgme.h.in index e2c22362..c471e25c 100644 --- a/src/gpgme.h.in +++ b/src/gpgme.h.in @@ -270,6 +270,7 @@ typedef enum GPGME_PK_RSA = 1, GPGME_PK_RSA_E = 2, GPGME_PK_RSA_S = 3, + GPGME_PK_KYBER = 8, GPGME_PK_ELG_E = 16, GPGME_PK_DSA = 17, GPGME_PK_ECC = 18, @@ -616,7 +617,8 @@ struct _gpgme_subkey /* The serial number of a smart card holding this key or NULL. */ char *card_number; - /* The name of the curve for ECC algorithms or NULL. */ + /* The name of the curve for ECC algorithms, or the entire algorithm + * string for composite algorithms, or NULL. */ char *curve; /* The keygrip of the subkey in hex digit form or NULL if not available. */ |