diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-05-07 12:10:43 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-05-07 12:18:44 +0200 |
commit | 73052cba484cb473cf0c24a869b1cc234d53aefc (patch) | |
tree | 8d299e3f1b07f083adaf5ed75d0413b3a869da14 /openpgp-ffi/include | |
parent | e4553d9a5207ffd471a186a8f59da82d0b18c562 (diff) |
openpgp-ffi: Add missing values to pgp_tpk_cipher_suite_t
Diffstat (limited to 'openpgp-ffi/include')
-rw-r--r-- | openpgp-ffi/include/sequoia/openpgp/types.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp/types.h b/openpgp-ffi/include/sequoia/openpgp/types.h index 742c782ce..36860a8b 100644 --- a/openpgp-ffi/include/sequoia/openpgp/types.h +++ b/openpgp-ffi/include/sequoia/openpgp/types.h @@ -408,6 +408,21 @@ typedef enum pgp_tpk_cipher_suite { /*/ PGP_TPK_CIPHER_SUITE_RSA3K, + /*/ + /// EdDSA and ECDH over NIST P-256 with SHA256 and AES256 + /*/ + PGP_TPK_CIPHER_SUITE_P256, + + /*/ + /// EdDSA and ECDH over NIST P-384 with SHA384 and AES256 + /*/ + PGP_TPK_CIPHER_SUITE_P384, + + /*/ + /// EdDSA and ECDH over NIST P-521 with SHA512 and AES256 + /*/ + PGP_TPK_CIPHER_SUITE_P521, + /* Dummy value to make sure the enumeration has a defined size. Do not use this value. */ PGP_TPK_CIPHER_SUITE_FORCE_WIDTH = INT_MAX, |