Fixed byte order in KAT.