summaryrefslogtreecommitdiff
path: root/scripts/Makefile.vdsoinst
diff options
context:
space:
mode:
authorJerry Shih <jerry.shih@sifive.com>2024-01-22 03:19:18 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2024-01-23 04:55:21 +0300
commit8c8e40470ffeb7a279254c78c7779d7294a76ef1 (patch)
tree9593eff7b51a9668e6f55e7655bad2485358c2d1 /scripts/Makefile.vdsoinst
parent600a3853dfa007935220b3489e2be5ab8950b4b4 (diff)
downloadlinux-8c8e40470ffeb7a279254c78c7779d7294a76ef1.tar.xz
crypto: riscv - add vector crypto accelerated SHA-{256,224}
Add an implementation of SHA-256 and SHA-224 using the Zvknha or Zvknhb extension. The assembly code is derived from OpenSSL code (openssl/openssl#21923) that was dual-licensed so that it could be reused in the kernel. Nevertheless, the assembly has been significantly reworked for integration with the kernel, for example by using a regular .S file instead of the so-called perlasm, using the assembler instead of bare '.inst', and greatly reducing code duplication. Co-developed-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu> Signed-off-by: Charalampos Mitrodimas <charalampos.mitrodimas@vrull.eu> Co-developed-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Signed-off-by: Heiko Stuebner <heiko.stuebner@vrull.eu> Co-developed-by: Phoebe Chen <phoebe.chen@sifive.com> Signed-off-by: Phoebe Chen <phoebe.chen@sifive.com> Signed-off-by: Jerry Shih <jerry.shih@sifive.com> Co-developed-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20240122002024.27477-8-ebiggers@kernel.org Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'scripts/Makefile.vdsoinst')
0 files changed, 0 insertions, 0 deletions