diff options
author | Jerry Shih <[email protected]> | 2024-01-21 16:19:21 -0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-01-22 17:55:24 -0800 |
commit | b8d06352bbf397608a262c9d5f2b03ce32a3544a (patch) | |
tree | 42680d2a50c0fbb53f31f9ff87babe01043e6be1 /drivers/clocksource/timer-clint.c | |
parent | 563a5255afa237c961c5c8c8c552425c519b88da (diff) |
crypto: riscv - add vector crypto accelerated SM4
Add an implementation of SM4 using the Zvksed 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: Christoph Müllner <[email protected]>
Signed-off-by: Christoph Müllner <[email protected]>
Co-developed-by: Heiko Stuebner <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Signed-off-by: Jerry Shih <[email protected]>
Co-developed-by: Eric Biggers <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/clocksource/timer-clint.c')
0 files changed, 0 insertions, 0 deletions