]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
add build support for riscv64 aes zkn
authorHongren (Zenithal) Zheng <i@zenithal.me>
Sat, 30 Apr 2022 09:37:46 +0000 (17:37 +0800)
committerTomas Mraz <tomas@openssl.org>
Fri, 10 Jun 2022 09:45:41 +0000 (11:45 +0200)
Signed-off-by: Hongren (Zenithal) Zheng <i@zenithal.me>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18197)

crypto/aes/build.info

index 3adc4b11155bb3163329ff988e401277c3dd46bc..545093c6ef438912868921462da066054f09d275 100644 (file)
@@ -47,7 +47,7 @@ IF[{- !$disabled{asm} -}]
   # aes-c64xplus.s implements AES_ctr32_encrypt
   $AESDEF_c64xplus=AES_ASM AES_CTR_ASM
 
-  $AESASM_riscv64=aes_cbc.c aes-riscv64.s
+  $AESASM_riscv64=aes_cbc.c aes-riscv64.s aes-riscv64-zkn.s
   $AESDEF_riscv64=AES_ASM
 
   # Now that we have defined all the arch specific variables, use the
@@ -118,6 +118,7 @@ GENERATE[aes-mips.S]=asm/aes-mips.pl
 INCLUDE[aes-mips.o]=..
 
 GENERATE[aes-riscv64.s]=asm/aes-riscv64.pl
+GENERATE[aes-riscv64-zkn.s]=asm/aes-riscv64-zkn.pl
 
 GENERATE[aesv8-armx.S]=asm/aesv8-armx.pl
 INCLUDE[aesv8-armx.o]=..