Home GnuPG

GCM: Add clearing and checking of marks.tag
32a2da9abc91Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

GCM: Add clearing and checking of marks.tag

* cipher/cipher-gcm.c (_gcry_cipher_gcm_encrypt)
(_gcry_cipher_gcm_decrypt, _gcry_cipher_gcm_authenticate): Make sure
that tag has not been finalized yet.
(_gcry_cipher_gcm_setiv): Clear 'marks.tag'.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 19 2013, 10:26 PM
Parents
rC018f08354b1b: GCM: Add stack burning
Branches
Unknown
Tags
Unknown

Event Timeline

Jussi Kivilinna <jussi.kivilinna@iki.fi> committed rC32a2da9abc91: GCM: Add clearing and checking of marks.tag (authored by Jussi Kivilinna <jussi.kivilinna@iki.fi>).Nov 20 2013, 5:37 PM