Implement FIPS compliancy as per https://docs.google.com/document/d/1qjCZ-BSNtlZHm6w-aFfisdAhS0epRp7CEFiDJpXIW5w