openssl/crypto/chacha
Bernd Edlinger 22417bc14d Fix riscv64 chacha crash due to unaligned data
The linux-riscv64 test machine crashes due to unaligned data,
when the V extension is enabled, while QEMU seems to have no
problems with unaligned data.

So check for aligned data and fall back to C code in case the
input or output values are unaligned.

Reviewed-by: Paul Dale <ppzgs1@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28684)
2025-10-01 17:51:11 +02:00
..
asm Copyright year updates 2025-09-02 13:05:45 +00:00
build.info riscv: Provide a vector only implementation of Chacha20 cipher 2024-05-08 11:10:45 +02:00
chacha_enc.c riscv: Provide a vector implementation of CHACHA20 cipher. 2023-10-26 15:55:50 +01:00
chacha_ppc.c Copyright year updates 2023-09-07 09:59:15 +01:00
chacha_riscv.c Fix riscv64 chacha crash due to unaligned data 2025-10-01 17:51:11 +02:00