--- libelwix/src/crc_tbl.c 2014/01/29 14:16:54 1.2 +++ libelwix/src/crc_tbl.c 2014/01/30 07:33:20 1.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: crc_tbl.c,v 1.2 2014/01/29 14:16:54 misho Exp $ +* $Id: crc_tbl.c,v 1.3 2014/01/30 07:33:20 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -110,7 +110,7 @@ static const uint32_t crc32_table[256] = { #define DO8(crc, buf) DO4(crc, buf); DO4(crc, buf); /* - * crc32() - CRC32 calculation from table + * crc_32() - CRC32 calculation from table * * @crc = Initial crc value * @buf = Data for calculation @@ -118,7 +118,7 @@ static const uint32_t crc32_table[256] = { * return: calculated CRC32 */ uint32_t -crc32(uint32_t crc, const uint8_t * __restrict buf, uint32_t len) +crc_32(uint32_t crc, const uint8_t * __restrict buf, uint32_t len) { crc = crc ^ 0xffffffff; while (len >= 8) {