gpg: Support EAX if for latest Libgcrypt. master
authorWerner Koch <wk@gnupg.org>
Sun, 21 Jan 2018 15:42:29 +0000 (16:42 +0100)
committerWerner Koch <wk@gnupg.org>
Sun, 21 Jan 2018 16:00:27 +0000 (17:00 +0100)
commit7356d6ec50ea24bc9449187e1c2b3ecd717b789f
tree5740a607ce592858e1d93527c00a741c0188a4bc
parent3f4ca85cb0cf58006417f4f7faafaa9a1f1bdf22
gpg: Support EAX if for latest Libgcrypt.

* g10/cipher-aead.c (MY_GCRY_CIPHER_MODE_EAX): New.
(write_header): Use it.
* g10/decrypt-data.c (MY_GCRY_CIPHER_MODE_EAX): New.
(decrypt_data): Use it.
* g10/misc.c (openpgp_aead_test_algo): Allow EAX.
--

This allows the use of EAX when the latest Libgcrypt master is used.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/cipher-aead.c
g10/decrypt-data.c
g10/misc.c