Home GnuPG

rinjdael-s390x: fix UBSAN warning on using index beyond end of array

Description

rinjdael-s390x: fix UBSAN warning on using index beyond end of array

* cipher/rijndael-s390x.c (aes_s390x_ocb_get_l): New.
(aes_s390x_ocb_enc, aes_s390x_ocb_dec, aes_s390x_ocb_auth): Use
'aes_s390x_ocb_get_l'.
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jul 5 2021, 5:37 PM
Parents
rC69fdcb543323: ec: add zSeries/s390x accelerated scalar multiplication
Branches
Unknown
Tags
Unknown