aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHongren (Zenithal) Zheng <i@zenithal.me>2022-04-30 17:37:46 +0800
committerTomas Mraz <tomas@openssl.org>2022-11-21 10:49:52 +0100
commit3c2287309c6d22d3b6751379f908d5f9f7c01cd6 (patch)
treec1aa2cfa59f800d1c161897e7019e38167fcd106
parenta85f5cd635d68672f1bf4bcca80d4a28d19c5678 (diff)
downloadopenssl-3c2287309c6d22d3b6751379f908d5f9f7c01cd6.zip
openssl-3c2287309c6d22d3b6751379f908d5f9f7c01cd6.tar.gz
openssl-3c2287309c6d22d3b6751379f908d5f9f7c01cd6.tar.bz2
add build support for riscv64 aes zkn
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) (cherry picked from commit 9912c38ed69c97ca737c66c68ae454c5cd265133)
-rw-r--r--crypto/aes/build.info3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/aes/build.info b/crypto/aes/build.info
index 3adc4b1..545093c 100644
--- a/crypto/aes/build.info
+++ b/crypto/aes/build.info
@@ -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]=..