diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-08-20 14:12:44 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-08-20 14:18:06 +0200 |
commit | c59bb02c794294e62da3259561e439ab78e04560 (patch) | |
tree | edb06817e9bdea49456c1aeaf7edef1a7cf0e546 /openpgp-ffi/include/sequoia/openpgp.h | |
parent | f39af0ed274f85fab408000d68a9395f40b392c2 (diff) |
openpgp: Make choice of AEAD algorithm explicit.
- Automatically using AEAD if all recipients claim support is a
policy decision, which we'd rather avoid in the openpgp crate.
- Fixes #293.
Diffstat (limited to 'openpgp-ffi/include/sequoia/openpgp.h')
-rw-r--r-- | openpgp-ffi/include/sequoia/openpgp.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp-ffi/include/sequoia/openpgp.h b/openpgp-ffi/include/sequoia/openpgp.h index 34611acb..1a7dc98d 100644 --- a/openpgp-ffi/include/sequoia/openpgp.h +++ b/openpgp-ffi/include/sequoia/openpgp.h @@ -1599,7 +1599,8 @@ pgp_writer_stack_t pgp_encryptor_new (pgp_error_t *errp, pgp_tpk_t *recipients, size_t recipients_len, pgp_encryption_mode_t mode, - uint8_t cipher_algo); + uint8_t cipher_algo, + uint8_t aead_algo); /*/ /// Frees this object. |