aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fips.h
blob: 877a36b293b9f86a5c9dd59dd89a5724c1936e26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _FIPS_H
#define _FIPS_H

#ifdef CONFIG_CRYPTO_FIPS
extern int fips_enabled;
extern int get_fips_error_state(void);
extern int get_cc_mode_state(void);
#else
#define fips_enabled 0
static inline int get_fips_error_state(void)
{
	return 0;
}
static inline int get_cc_mode_state(void)
{
	return 0;
}
#endif

#endif