decrypt_R2004_header (Bit_Chain *restrict dat, BITCODE_RC *restrict decrypted,
                      unsigned long size, Dwg_Data *restrict dwg)
{
  unsigned int rseed = 1;
  unsigned i;

  /* Decrypt */
  for (i = 0; i < size; i++)
    {
      rseed *= 0x343fd;
      rseed += 0x269ec3;
      decrypted[i] = bit_read_RC (dat) ^ (rseed >> 0x10);
    }
}
decrypt_R2004_header (Bit_Chain *restrict dat, BITCODE_RC *restrict decrypted,
                      unsigned long size, Dwg_Data *restrict dwg)
{
  unsigned int rseed = 1;
  unsigned i;

   
  for (i = 0; i < size; i++)
    {
      rseed *= 0x343fd;
      rseed += 0x269ec3;
      decrypted[i] = bit_read_RC (dat) ^ (rseed >> 0x10);
    }
}