1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-21 14:47:03 +01:00
Werner Koch 4980fb3c6d
sm: Support AES-GCM decryption.
* tests/cms/samplemsgs/: Add sample messages.
* sm/gpgsm.c (main): Use gpgrt_fcancel on decryption error.
* sm/decrypt.c (decrypt_gcm_filter): New.
(gpgsm_decrypt): Use this filter if requested.  Check authtag.
--

Note that the sample message pwri-sample.gcm.p7m is broken: The
authtag is duplicated to the authEncryptedContentInfo.  I used a
temporary code during testing hack to that test message out.
2021-06-02 11:03:55 +02:00
..
2021-06-02 11:03:55 +02:00

Sample messages for CMS symmetric encryption.
Password is "abc".

pwri-sample.cbc.p7m      - Using CBC Mode
pwri-sample.cbc-2.p7m    - Using CBC with a different iteration count
pwri-sample.gcm.p7m      - Using GCM (from a broken implementation)