[openssl/openssl] fba380: Fix the return values of the aarch64 unroll8_eor_a...

Tom Cosgrove noreply at github.com
Wed Feb 8 16:17:32 UTC 2023


  Branch: refs/heads/openssl-3.1
  Home:   https://github.com/openssl/openssl
  Commit: fba380886409d240e369986a3ff37f3669e21656
      https://github.com/openssl/openssl/commit/fba380886409d240e369986a3ff37f3669e21656
  Author: Tom Cosgrove <tom.cosgrove at arm.com>
  Date:   2023-02-08 (Wed, 08 Feb 2023)

  Changed paths:
    M crypto/modes/asm/aes-gcm-armv8-unroll8_64.pl
    M include/crypto/aes_platform.h

  Log Message:
  -----------
  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 at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20191)

(cherry picked from commit 4596c20b86871b2bb0f9a7f6b855c0b7f0d4fbf3)




More information about the openssl-commits mailing list