Modify the code location of FIPS mode setting