cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

fips.h (303B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _FIPS_H
      3#define _FIPS_H
      4
      5#ifdef CONFIG_CRYPTO_FIPS
      6extern int fips_enabled;
      7extern struct atomic_notifier_head fips_fail_notif_chain;
      8
      9void fips_fail_notify(void);
     10
     11#else
     12#define fips_enabled 0
     13
     14static inline void fips_fail_notify(void) {}
     15
     16#endif
     17
     18#endif