riscv: aes: Move reusable Perl code into Perl module
authorChristoph Müllner <christoph.muellner@vrull.eu>
Tue, 31 Jan 2023 23:02:33 +0000 (00:02 +0100)
committerPauli <pauli@openssl.org>
Thu, 16 Mar 2023 02:12:19 +0000 (13:12 +1100)
commitc8a641c39f524051900feac7175ca7300f151f85
treeccd6ad40d43ba65e26f82eb80ef9929b333aed73
parent86c69fe84118f0dca656d9bfc1131052e2a8e9b8
riscv: aes: Move reusable Perl code into Perl module

Move helper functions and instruction encoding functions
into a riscv.pm Perl module to avoid pointless code duplication.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20078)
crypto/aes/asm/aes-riscv64-zkn.pl
crypto/perlasm/riscv.pm [new file with mode: 0644]