diff options
author | Jerry Shih <[email protected]> | 2024-01-21 16:19:15 -0800 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-01-22 17:55:18 -0800 |
commit | eb24af5d7a05bbcdebb0398f91af990719644093 (patch) | |
tree | 9f15a7fe7770b725a4d6a77a269921de551fb10a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 178f3856436c748485cb7f8c134be2471f6d539f (diff) |
crypto: riscv - add vector crypto accelerated AES-{ECB,CBC,CTR,XTS}
Add implementations of AES-ECB, AES-CBC, AES-CTR, and AES-XTS, as well
as bare (single-block) AES, using the RISC-V vector crypto extensions.
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 regular .S files
instead of the so-called perlasm, using the assembler instead of bare
'.inst', greatly reducing code duplication, supporting AES-192, and
making the code use the same AES key structure as the C code.
Co-developed-by: Phoebe Chen <[email protected]>
Signed-off-by: Phoebe Chen <[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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions