summaryrefslogtreecommitdiffstats
path: root/lib/crypto/simd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/simd.c')
-rw-r--r--lib/crypto/simd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/crypto/simd.c b/lib/crypto/simd.c
new file mode 100644
index 000000000000..9c36cb3bb49c
--- /dev/null
+++ b/lib/crypto/simd.c
@@ -0,0 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * SIMD testing utility functions
+ *
+ * Copyright 2024 Google LLC
+ */
+
+#include <crypto/internal/simd.h>
+
+DEFINE_PER_CPU(bool, crypto_simd_disabled_for_test);
+EXPORT_PER_CPU_SYMBOL_GPL(crypto_simd_disabled_for_test);