]> git.ipfire.org Git - thirdparty/openssl.git/commit
Fix ChaCha assembly code on 32-bit HPUX itanium systems
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Tue, 8 Aug 2023 04:48:33 +0000 (06:48 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 9 Aug 2023 10:22:56 +0000 (12:22 +0200)
commit51a18356ee3303ed9a87c527937a8dbd0a5c7cef
tree8d310f9965fbb2a9adb8a52bdbf5076a72bfd1bf
parent5079d2d25cfe6a02e04c718c8a5d8d83f26126b9
Fix ChaCha assembly code on 32-bit HPUX itanium systems

This fixes the reported crashes 32-bit HPUX systems due to
raw out and inp pointer values, and adds one nop instruction
on 64-bit systems, like it is done in other assembly modules
for those systems.

The fix was tested by @johnkohl-hcl see:
https://github.com/openssl/openssl/issues/17067#issuecomment-1668468033

Fixes #17067

Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21681)

(cherry picked from commit 6d38ccedb25f31dfab232e2669415fd4db18b20e)
crypto/chacha/asm/chacha-ia64.pl