openssl/crypto/chacha
Lin Runze 971028535e Fix performance regression of ChaCha20 on LoongArch64
The regression was introduced in PR #22817.

In that pull request, the input length check was moved forward,
but the related ori instruction was missing, and it will cause
input of any length down to the much slower scalar implementation.

Fixes #23300

CLA: trivial

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23301)
2024-01-17 09:40:04 +01:00
..
asm Fix performance regression of ChaCha20 on LoongArch64 2024-01-17 09:40:04 +01:00
build.info riscv: Provide a vector implementation of CHACHA20 cipher. 2023-10-26 15:55:50 +01: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 riscv: Provide a vector implementation of CHACHA20 cipher. 2023-10-26 15:55:50 +01:00