Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _FIPS_H
0003 #define _FIPS_H
0004 
0005 #ifdef CONFIG_CRYPTO_FIPS
0006 extern int fips_enabled;
0007 extern struct atomic_notifier_head fips_fail_notif_chain;
0008 
0009 void fips_fail_notify(void);
0010 
0011 #else
0012 #define fips_enabled 0
0013 
0014 static inline void fips_fail_notify(void) {}
0015 
0016 #endif
0017 
0018 #endif