1*49cdfc7eSAndroid Build Coastguard Worker /* SPDX-License-Identifier: GPL-2.0-or-later 2*49cdfc7eSAndroid Build Coastguard Worker * Copyright (c) Linux Test Project, 2020-2024 3*49cdfc7eSAndroid Build Coastguard Worker */ 4*49cdfc7eSAndroid Build Coastguard Worker 5*49cdfc7eSAndroid Build Coastguard Worker #ifndef TST_SECURITY_H__ 6*49cdfc7eSAndroid Build Coastguard Worker #define TST_SECURITY_H__ 7*49cdfc7eSAndroid Build Coastguard Worker 8*49cdfc7eSAndroid Build Coastguard Worker /* 9*49cdfc7eSAndroid Build Coastguard Worker * Detect whether FIPS enabled 10*49cdfc7eSAndroid Build Coastguard Worker * @return 0: FIPS not enabled, 1: FIPS enabled 11*49cdfc7eSAndroid Build Coastguard Worker */ 12*49cdfc7eSAndroid Build Coastguard Worker int tst_fips_enabled(void); 13*49cdfc7eSAndroid Build Coastguard Worker 14*49cdfc7eSAndroid Build Coastguard Worker int tst_lockdown_enabled(void); 15*49cdfc7eSAndroid Build Coastguard Worker int tst_secureboot_enabled(void); 16*49cdfc7eSAndroid Build Coastguard Worker int tst_selinux_enforcing(void); 17*49cdfc7eSAndroid Build Coastguard Worker 18*49cdfc7eSAndroid Build Coastguard Worker #endif /* TST_SECURITY_H__ */ 19