gpg: Add stub function for encrypting AEAD. master
authorWerner Koch <wk@gnupg.org>
Wed, 10 Jan 2018 16:33:50 +0000 (17:33 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 10 Jan 2018 16:33:50 +0000 (17:33 +0100)
commit81d71818d054a5faa9153fd52a4b79bbbb71e9d5
treecd62338a213ae45861d4db23be7bee638aed85ed
parent4e2ba546cdccbbc6d3e29867ee5671fd44d74e67
gpg: Add stub function for encrypting AEAD.

* g10/cipher.c (cipher_filter): Rename to cipher_filter_cfb.
* g10/cipher-aead.c: New.  Right now only with a stub function.
* g10/Makefile.am (gpg_sources): Add file.
* g10/encrypt.c (encrypt_simple): Push either cipher_filter_cfb or
cipher_filter_aead.
(encrypt_crypt): Ditto.
(encrypt_filter): Ditto.
* g10/sign.c (sign_symencrypt_file): Ditto.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/Makefile.am
g10/cipher-aead.c [new file with mode: 0644]
g10/cipher.c
g10/encrypt.c
g10/filter.h
g10/gpgcompose.c
g10/sign.c