openssl/crypto/sha
Charalampos Mitrodimas 9c22a240da riscv: sha512: Provide a Zvknhb-based implementation
The upcoming RISC-V vector crypto extensions feature
a Zvknhb extension, that provides sha512-specific istructions.
This patch provides an implementation that utilizes this
extension if available.

Tested on QEMU and no regressions observed.

Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu>
Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21923)
2023-10-26 15:55:49 +01:00
..
asm riscv: sha512: Provide a Zvknhb-based implementation 2023-10-26 15:55:49 +01:00
build.info riscv: sha512: Provide a Zvknhb-based implementation 2023-10-26 15:55:49 +01:00
keccak1600.c
sha1_one.c
sha1dgst.c
sha3.c
sha256.c
sha512.c crypto: sha512: Add mechanism to keep C code as fallback for SHA512_ASM 2023-10-26 15:55:49 +01:00
sha_local.h
sha_ppc.c
sha_riscv.c riscv: sha512: Provide a Zvknhb-based implementation 2023-10-26 15:55:49 +01:00