git: 3aaaba207869 - stable/15 - LinuxKPI: add fips.h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Oct 2025 09:44:06 UTC
The branch stable/15 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=3aaaba20786966062d1355d4809142b623ffc4b7
commit 3aaaba20786966062d1355d4809142b623ffc4b7
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-10-17 19:34:20 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-10-23 06:35:03 +0000
LinuxKPI: add fips.h
We do not currently aim to support crypto FIPS compliance in LinuxKPI
so keep this turned off.
Reviewed by: emaste, dumbbell
Differential Revision: https://reviews.freebsd.org/D53207
(cherry picked from commit 98609f4fecffd0e70293ddd57c2b785e498b1131)
---
sys/compat/linuxkpi/common/include/linux/fips.h | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/sys/compat/linuxkpi/common/include/linux/fips.h b/sys/compat/linuxkpi/common/include/linux/fips.h
new file mode 100644
index 000000000000..25c0c1fc1fa0
--- /dev/null
+++ b/sys/compat/linuxkpi/common/include/linux/fips.h
@@ -0,0 +1,12 @@
+/*
+ * Copyright (c) 2025 Bjoern A. Zeeb
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#ifndef _LINUXKPI_LINUX_FIPS_H
+#define _LINUXKPI_LINUX_FIPS_H
+
+#define fips_enabled 0
+
+#endif /* _LINUXKPI_LINUX_FIPS_H */