[openssl/openssl] 6f7467: Fix AES-GCM-SIV endian issues

Todd Short noreply at github.com
Mon Aug 1 08:26:03 UTC 2022


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: 6f74677911de87f3271721073bd360806a93733f
      https://github.com/openssl/openssl/commit/6f74677911de87f3271721073bd360806a93733f
  Author: Todd Short <todd.short at me.com>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M providers/implementations/ciphers/cipher_aes_gcm_siv.h
    M providers/implementations/ciphers/cipher_aes_gcm_siv_hw.c
    M providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c

  Log Message:
  -----------
  Fix AES-GCM-SIV endian issues

Fixes #18911

`BSWAP`x/`GETU`xx are no-ops on big-endian. Change the byte swapper.
Fix big-endian issues in the `mulx_ghash()` function

Reviewed-by: Matt Caswell <matt at openssl.org>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18920)




More information about the openssl-commits mailing list