]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
add build support for riscv32 aes zkn
authorHongren (Zenithal) Zheng <i@zenithal.me>
Fri, 13 May 2022 15:29:34 +0000 (23:29 +0800)
committerPauli <pauli@openssl.org>
Mon, 5 Sep 2022 00:20:30 +0000 (10:20 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18308)

crypto/aes/build.info

index 545093c6ef438912868921462da066054f09d275..886c3b3df3787b3818011bce37e822c117d600f9 100644 (file)
@@ -49,6 +49,7 @@ IF[{- !$disabled{asm} -}]
 
   $AESASM_riscv64=aes_cbc.c aes-riscv64.s aes-riscv64-zkn.s
   $AESDEF_riscv64=AES_ASM
+  $AESASM_riscv32=aes_core.c aes_cbc.c aes-riscv32-zkn.s
 
   # Now that we have defined all the arch specific variables, use the
   # appropriate one, and define the appropriate macros
@@ -119,6 +120,7 @@ INCLUDE[aes-mips.o]=..
 
 GENERATE[aes-riscv64.s]=asm/aes-riscv64.pl
 GENERATE[aes-riscv64-zkn.s]=asm/aes-riscv64-zkn.pl
+GENERATE[aes-riscv32-zkn.s]=asm/aes-riscv32-zkn.pl
 
 GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl
 INCLUDE[aesv8-armx.o]=..