diff options
| author | Werner Koch <[email protected]> | 2018-02-27 20:11:20 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2018-02-27 20:11:34 +0000 |
| commit | 618b86325f776f7250ad2bb09680e4bb427d7e50 (patch) | |
| tree | f76c4c3098457b07dd92b9af2167abf1cf7320e8 /dirmngr/ks-engine-hkp.c | |
| parent | gpg: Factor common code out of the AEAD decryption function. (diff) | |
| download | gnupg-618b86325f776f7250ad2bb09680e4bb427d7e50.tar.gz gnupg-618b86325f776f7250ad2bb09680e4bb427d7e50.zip | |
gpg: Simplify the AEAD decryption function.
* g10/decrypt-data.c (aead_set_nonce, aead_set_ad): Merge into ...
(aead_set_nonce_and_ad): new single function. Change callers.
(decrypt_data): Do not set the nonce and ad here.
(aead_underflow): Get rid of the LAST_CHUNK_DONE hack.
--
The main change here is that we now re-init the context only right
before we decrypt and not after a checktag.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-hkp.c')
0 files changed, 0 insertions, 0 deletions
