Searched refs:fips_fpath (Results 1 – 1 of 1) sorted by relevance
383 static const char *fips_fpath = "/proc/sys/crypto/fips_enabled"; variable 392 if (access(fips_fpath, R_OK)) { in is_fips_enabled() 394 test_error("Can't open %s", fips_fpath); in is_fips_enabled() 398 fenabled = fopen(fips_fpath, "r"); in is_fips_enabled() 400 test_error("Can't open %s", fips_fpath); in is_fips_enabled() 402 test_error("Can't read from %s", fips_fpath); in is_fips_enabled()