git: 9630e68f94a4 - main - ossl: Add chacha-armv8-sve.S on aarch64

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 15 Aug 2025 17:06:13 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=9630e68f94a45b64087b18cc21be07ba3d3c3e8e

commit 9630e68f94a45b64087b18cc21be07ba3d3c3e8e
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-08-15 17:04:05 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-08-15 17:06:03 +0000

    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 641001efab5e..45966fea8041 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 7a92742d6b36..ac2c752e922e 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 \