From 73052cba484cb473cf0c24a869b1cc234d53aefc Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Tue, 7 May 2019 12:10:43 +0200 Subject: openpgp-ffi: Add missing values to pgp_tpk_cipher_suite_t --- openpgp-ffi/include/sequoia/openpgp/types.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'openpgp-ffi') 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, -- cgit v1.2.3