Better error messages for FIPS 140-2 mode