in TAs/optee_ta/fTPM/fTPM.c [72:81]
static uint32_t SwapBytes32(uint32_t Value)
{
uint32_t LowerBytes;
uint32_t HigherBytes;
LowerBytes = (uint32_t)SwapBytes16((uint16_t)Value);
HigherBytes = (uint32_t)SwapBytes16((uint16_t)(Value >> 16));
return (LowerBytes << 16 | HigherBytes);
}