Searched defs:crc32_table (Results 1 - 3 of 3) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dcrc.c35 static u32 crc32_table[256] = { variable
138 crc = crc32_table[(crc ^ buf[n]) & 0xff] ^ (crc >> 8);
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Dcrc.c35 static u32 crc32_table[256] = { variable
138 crc = crc32_table[(crc ^ buf[n]) & 0xff] ^ (crc >> 8);
/osnet-11/usr/src/grub/grub2/grub-core/efiemu/runtime/
H A Defiemu.c288 static grub_uint32_t crc32_table [256]; variable
314 crc32_table[i] = reflect(i, 8) << 24;
316 crc32_table[i] = (crc32_table[i] << 1) ^
317 (crc32_table[i] & (1 << 31) ? polynomial : 0);
318 crc32_table[i] = reflect(crc32_table[i], 32);
328 if (! crc32_table[1])
335 crc = (crc >> 8) ^ crc32_table[(crc & 0xFF) ^ *data];

Completed in 45 milliseconds