Diffusion GnuPG 2f08a4f25df7

gpg: ECDH: Accept longer padding.

Authored by gniibe on Apr 8 2020, 2:29 AM.


gpg: ECDH: Accept longer padding.

* g10/pubkey-enc.c (get_it): Remove check which mandates shorter

Cherry-picked master commit of:

According to the section 8 of RFC 6637, the sender MAY use 21 bytes of
padding for AES-128 to provide 40-byte "m".

  • Reported-by: Metin Savignano
  • GnuPG-bug-id: T4908
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>