Home GnuPG

cipher: Check length of supplied tag in _gcry_cipher_gcm_check_tag.
15785bc9fb17Unpublished

Unpublished Commit · Learn More

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

Description

cipher: Check length of supplied tag in _gcry_cipher_gcm_check_tag.

* cipher/cipher-gcm.c (_gcry_cipher_gcm_tag): Check that the provided
tag length matches the actual tag length.  Avoid gratuitous return
statements.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 23 2016, 11:07 AM
Parents
rCd3d7bdf82152: Fix buffer overrun in gettag for GCM
Branches
Unknown
Tags
Unknown

Event Timeline