aboutsummaryrefslogtreecommitdiffstats
path: root/g10/decrypt-data.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-02-28 07:36:46 +0000
committerWerner Koch <[email protected]>2018-02-28 07:48:48 +0000
commit047506a03d21739b5b922f6b3fd9f059b0b137c5 (patch)
tree3d7317fb579c848def901cedf65d70de7611f1da /g10/decrypt-data.c
parentgpg: Simplify the AEAD decryption function. (diff)
downloadgnupg-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