Home GnuPG

rijndael-s390x: fix checksum calculation in OCB decryption

Description

rijndael-s390x: fix checksum calculation in OCB decryption

* cipher/rijndael-s390x.c (aes_s390x_ocb_dec): Calculate checksum
after decryption instead of inlining.

OCB decryption was missing checksum inlining in 64 block loop.

  • GnuPG-bug-id: T5356
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Mar 25 2021, 6:52 PM
Parents
rC21c273cecfd5: tests/basic: OCB large buffer check: make input buffer non-repeatable
Branches
Unknown
Tags
Unknown
Tasks
T5356: gnupg2 test failure on s390x