]> git.ipfire.org Git - thirdparty/openssl.git/commit
riscv: Support sm3 on platforms with vlen >= 128.
authorJerry Shih <bignose1007@gmail.com>
Mon, 11 Sep 2023 03:30:52 +0000 (11:30 +0800)
committerHugo Landau <hlandau@openssl.org>
Thu, 26 Oct 2023 14:55:50 +0000 (15:55 +0100)
commit1c25bc2e3f5e9db90a1d7bc4f0bae1b59e5f2c4c
treecf4f05ecb036d112e9224ebfa4fc812e6a906c97
parentfbe634836383cff2d01128530f1aa86a1a280a33
riscv: Support sm3 on platforms with vlen >= 128.

This patch updates the OSSSL_HWSM3_block_data_order_zvksh and enables
SM3 on platforms with VLEN >= 128.

Signed-off-by: Jerry Shih <jerry.shih@sifive.com>
Signed-off-by: Phoebe Chen <phoebe.chen@sifive.com>
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)
crypto/sm3/asm/sm3-riscv64-zvksh.pl
crypto/sm3/sm3_riscv.c