1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00
Werner Koch 618b86325f
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 <wk@gnupg.org>
2018-02-27 21:11:34 +01:00
..
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-01-21 16:30:53 +01:00
2017-11-22 20:54:47 +01:00
2017-03-07 20:25:54 +09:00
2015-02-04 09:15:34 +01:00
2017-09-27 09:42:13 +02:00
2015-02-04 09:15:34 +01:00
2017-03-07 20:25:54 +09:00
2017-09-13 09:18:15 +02:00
2017-03-07 20:25:54 +09:00
2018-01-22 16:50:21 +01:00
2018-02-22 16:19:56 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-01-23 19:08:16 +01:00
2018-01-23 19:08:16 +01:00
2017-03-07 20:25:54 +09:00
2018-01-22 16:50:21 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-01-23 19:16:55 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2018-01-23 12:07:57 +01:00
2016-03-08 14:08:49 +01:00
2017-04-28 10:06:33 +09:00
2017-03-31 20:07:20 +02:00
2017-03-07 20:25:54 +09:00
2016-12-06 12:16:56 +01:00
2017-12-04 19:26:49 +09:00
2017-04-28 10:06:33 +09:00