mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
303 B
18 lines
303 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
#ifndef _FIPS_H |
|
#define _FIPS_H |
|
|
|
#ifdef CONFIG_CRYPTO_FIPS |
|
extern int fips_enabled; |
|
extern struct atomic_notifier_head fips_fail_notif_chain; |
|
|
|
void fips_fail_notify(void); |
|
|
|
#else |
|
#define fips_enabled 0 |
|
|
|
static inline void fips_fail_notify(void) {} |
|
|
|
#endif |
|
|
|
#endif
|
|
|