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: NCharalampos Mitrodimas <charalampos.mitrodimas@vrull.eu> Signed-off-by: NChristoph Müllner <christoph.muellner@vrull.eu> Reviewed-by: NTomas Mraz <tomas@openssl.org> Reviewed-by: NPaul Dale <pauli@openssl.org> Reviewed-by: NHugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21923)
Showing
想要评论请 注册 或 登录