From 04dd17822334871b23ea2862f7798fb0e0007777 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 11 May 2024 08:53:19 +0000
Subject: [PATCH] change otg to host mode

---
 kernel/arch/arm/crypto/curve25519-glue.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/kernel/arch/arm/crypto/curve25519-glue.c b/kernel/arch/arm/crypto/curve25519-glue.c
index 4f5cf14..31eb75b 100644
--- a/kernel/arch/arm/crypto/curve25519-glue.c
+++ b/kernel/arch/arm/crypto/curve25519-glue.c
@@ -11,6 +11,7 @@
 #include <asm/neon.h>
 #include <asm/simd.h>
 #include <crypto/internal/kpp.h>
+#include <crypto/internal/simd.h>
 #include <linux/types.h>
 #include <linux/module.h>
 #include <linux/init.h>
@@ -28,7 +29,7 @@
 		     const u8 scalar[CURVE25519_KEY_SIZE],
 		     const u8 point[CURVE25519_KEY_SIZE])
 {
-	if (static_branch_likely(&have_neon) && may_use_simd()) {
+	if (static_branch_likely(&have_neon) && crypto_simd_usable()) {
 		kernel_neon_begin();
 		curve25519_neon(out, scalar, point);
 		kernel_neon_end();

--
Gitblit v1.6.2