]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blame - include/linux/fips.h
Merge tag 'printk-for-5.13-fixup' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-jammy-kernel.git] / include / linux / fips.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
5b739ef8
NH
2#ifndef _FIPS_H
3#define _FIPS_H
4
5#ifdef CONFIG_CRYPTO_FIPS
6extern int fips_enabled;
9552389c
GBY
7extern struct atomic_notifier_head fips_fail_notif_chain;
8
9void fips_fail_notify(void);
10
5b739ef8
NH
11#else
12#define fips_enabled 0
9552389c
GBY
13
14static inline void fips_fail_notify(void) {}
15
5b739ef8
NH
16#endif
17
18#endif