Skip to content

Commit

Permalink
Add AES implementation in generic riscv64 asm
Browse files Browse the repository at this point in the history
This implementation is based on the four-table approach, along the same
lines as the non-constant-time implementation in aes_core.c The
implementation is in perlasm.

Utility functions are defined to automatically stack/unstack registers
as needed for prologues and epilogues. See riscv-elf-psabi-doc at
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/ for ABI details.

Reviewed-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Signed-off-by: Henry Brausen <henry.brausen@vrull.eu>

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from #17640)

(cherry picked from commit b3504b6)
  • Loading branch information
henrybrausen authored and t8m committed Nov 21, 2022
1 parent 1aadae9 commit b60603c
Show file tree
Hide file tree
Showing 2 changed files with 1,714 additions and 0 deletions.

0 comments on commit b60603c

Please sign in to comment.