Apply fix for broken encryption in big endian platforms.