]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix AES-GCM-SIV endian issues
authorTodd Short <todd.short@me.com>
Mon, 1 Aug 2022 01:24:13 +0000 (21:24 -0400)
committerTomas Mraz <tomas@openssl.org>
Mon, 1 Aug 2022 08:23:57 +0000 (10:23 +0200)
commit6f74677911de87f3271721073bd360806a93733f
treee7f200219bf1681a31519bf3bfdf808f288f2616
parent76ad9ae6fa459af0bd804c01d3d681ec02cddb4b
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@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18920)
providers/implementations/ciphers/cipher_aes_gcm_siv.h
providers/implementations/ciphers/cipher_aes_gcm_siv_hw.c
providers/implementations/ciphers/cipher_aes_gcm_siv_polyval.c