1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch b722fd755c
sm: Support AES-GCM decryption.
* sm/gpgsm.c (main): Use gpgrt_fcancel on decryption error if gpgrt
supports this.
* sm/decrypt.c (decrypt_gcm_filter): New.
(gpgsm_decrypt): Use this filter if requested.  Check authtag.
* common/compliance.c (gnupg_cipher_is_allowed): Allow GCM for gpgsm
in consumer (decrypt) de-vs mode.
--

Backported-from-master: 4980fb3c6dde8c1dda975e8a36d6086c8456a631

We allow GCM in de-vs mode for decryption although this has not been
evaluation.  It is decryption and thus no serious harm may happen.

Signed-off-by: Werner Koch <wk@gnupg.org>
2021-06-02 19:11:42 +02:00
..
2015-10-28 10:20:17 +01:00
2021-06-02 19:11:42 +02:00
2015-11-17 12:50:22 +01:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2019-04-16 13:27:44 +09:00
2021-05-20 14:52:08 +02:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2017-02-21 13:11:46 -05:00
2020-11-09 11:53:33 +01:00
2021-01-11 14:26:27 +01:00
2021-01-11 14:26:27 +01:00
2021-04-29 12:25:46 +02:00
2021-04-29 10:38:29 +02:00
2017-02-21 13:11:46 -05:00
2021-01-11 18:40:45 +01:00
2017-02-21 13:11:46 -05:00

Common functionality used by all modules of GnuPG.