From 9630e68f94a45b64087b18cc21be07ba3d3c3e8e Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Fri, 15 Aug 2025 13:04:05 -0400 Subject: [PATCH] ossl: Add chacha-armv8-sve.S on aarch64 Fixes: 4757b351ea9d ("openssl: Import version 3.5.1") --- sys/conf/files.arm64 | 2 ++ sys/modules/ossl/Makefile | 1 + 2 files changed, 3 insertions(+) diff --git a/sys/conf/files.arm64 b/sys/conf/files.arm64 index 641001efab5..45966fea804 100644 --- a/sys/conf/files.arm64 +++ b/sys/conf/files.arm64 @@ -178,6 +178,8 @@ crypto/des/des_enc.c optional netsmb crypto/openssl/ossl_aarch64.c optional ossl crypto/openssl/aarch64/chacha-armv8.S optional ossl \ compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} -I$S/crypto/openssl ${WERROR} ${.IMPSRC}" +crypto/openssl/aarch64/chacha-armv8-sve.S optional ossl \ + compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} -I$S/crypto/openssl ${WERROR} ${.IMPSRC}" crypto/openssl/aarch64/poly1305-armv8.S optional ossl \ compile-with "${CC} -c ${CFLAGS:N-mgeneral-regs-only} -I$S/crypto/openssl ${WERROR} ${.IMPSRC}" crypto/openssl/aarch64/sha1-armv8.S optional ossl \ diff --git a/sys/modules/ossl/Makefile b/sys/modules/ossl/Makefile index 7a92742d6b3..ac2c752e922 100644 --- a/sys/modules/ossl/Makefile +++ b/sys/modules/ossl/Makefile @@ -29,6 +29,7 @@ SRCS.arm= \ SRCS.aarch64= \ chacha-armv8.S \ + chacha-armv8-sve.S \ poly1305-armv8.S \ sha1-armv8.S \ sha256-armv8.S \