X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fcrc.h;h=111cb4adb74403118db4ef6ebf263d94925c30f6;hb=f1a88cf6af6c474bcf53f8f2f32aea3af5419e7a;hp=b0031b20ab2e608eb49c0d3ff72be8f82f677e82;hpb=ecb57f69b236a0c11a08cbe74d22be76fc72091a;p=oweals%2Fu-boot.git diff --git a/include/crc.h b/include/crc.h index b0031b20ab..111cb4adb7 100644 --- a/include/crc.h +++ b/include/crc.h @@ -36,32 +36,6 @@ # endif #endif -/* Compute a CRC, using the POSIX 1003 definition */ -extern uint32_t -cyg_posix_crc32(unsigned char *s, int len); - -/* Gary S. Brown's 32 bit CRC */ - -extern uint32_t -cyg_crc32(unsigned char *s, int len); - -/* Gary S. Brown's 32 bit CRC, but accumulate the result from a */ -/* previous CRC calculation */ - -extern uint32_t -cyg_crc32_accumulate(uint32_t crc, unsigned char *s, int len); - -/* Ethernet FCS Algorithm */ - -extern uint32_t -cyg_ether_crc32(unsigned char *s, int len); - -/* Ethernet FCS algorithm, but accumulate the result from a previous */ -/* CRC calculation. */ - -extern uint32_t -cyg_ether_crc32_accumulate(uint32_t crc, unsigned char *s, int len); - /* 16 bit CRC with polynomial x^16+x^12+x^5+1 (CRC-CCITT) */ uint16_t crc16_ccitt(uint16_t crc_start, unsigned char *s, int len);