/* Check padding data all bit should be 1. */
BOOLEAN CheckPaddingData(IN UINT8 *Buffer, IN UINT32 BufferSize)
/* Check padding data all bit should be 1. */
BOOLEAN CheckPaddingData(IN UINT8 *Buffer, IN UINT32 BufferSize)
{
  UINT32  index;
  for (index = 0; index < BufferSize; index++) {
    if (Buffer[index] != 0xFF) {
      return FALSE;
    }
  }
  return TRUE;
}