diff options
author | Werner Koch <[email protected]> | 2018-02-28 07:36:46 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-02-28 07:48:48 +0000 |
commit | 047506a03d21739b5b922f6b3fd9f059b0b137c5 (patch) | |
tree | 3d7317fb579c848def901cedf65d70de7611f1da /g10/decrypt-data.c | |
parent | gpg: Simplify the AEAD decryption function. (diff) | |
download | gnupg-047506a03d21739b5b922f6b3fd9f059b0b137c5.tar.gz gnupg-047506a03d21739b5b922f6b3fd9f059b0b137c5.zip |
gpg: Merge two functions in cipher-aead.c
* g10/cipher-aead.c (set_nonce, set_additional_data): Merge into ...
(set_nonce_and_ad): new function.
(write_auth_tag): Print error message here.
(do_flush): Rename var newchunk to finalize.
--
There is no need to have separate functions here. We should also
print a error message for writing the final tag.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/decrypt-data.c')
0 files changed, 0 insertions, 0 deletions