openssl/crypto/sm3
Charalampos Mitrodimas f20ee1f490 riscv: SM3: Provide a Zvksh-based implementation
The upcoming RISC-V vector crypto extensions feature
a Zvksh extension, that provides SM3-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: SM3: Provide a Zvksh-based implementation 2023-10-26 15:55:49 +01:00
build.info riscv: SM3: Provide a Zvksh-based implementation 2023-10-26 15:55:49 +01:00
legacy_sm3.c Add "origin" field to EVP_CIPHER, EVP_MD 2021-04-18 10:03:07 +02:00
sm3_local.h riscv: SM3: Provide a Zvksh-based implementation 2023-10-26 15:55:49 +01:00
sm3_riscv.c riscv: SM3: Provide a Zvksh-based implementation 2023-10-26 15:55:49 +01:00
sm3.c Update copyright year 2021-04-08 13:04:41 +01:00