Fix the return values of the aarch64 unroll8_eor_aes_gcm_*_*_kernel functions master
authorTom Cosgrove <tom.cosgrove@arm.com>
Sat, 28 Jan 2023 18:43:30 +0000 (18:43 +0000)
committerTomas Mraz <tomas@openssl.org>
Wed, 8 Feb 2023 16:15:14 +0000 (17:15 +0100)
commit4596c20b86871b2bb0f9a7f6b855c0b7f0d4fbf3
tree864f4b16eba19e0e6adb1676cb193142786f5359
parente7041bfea77cc7e6bab1fe8d2745b6969a8c78aa
Fix the return values of the aarch64 unroll8_eor_aes_gcm_*_*_kernel functions

These aren't currently checked when they are called in cipher_aes_gcm_hw_armv8.inc,
but they are declared as returning as size_t the number of bytes they have processed,
and the aes_gcm_*_*_kernel (unroll by 4) versions of these do return the correct
values.

Change-Id: Ic3eaf139e36e29e8779b5bd8b867c08fde37a337

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20191)
crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl
include/crypto/aes_platform.h