xref: /aosp_15_r20/external/gptfdisk/crc32.h (revision 57696d54d05c64fd1b1787f8371dbcf104911cfb)
1*57696d54SAkhilesh Sanikop /*
2*57696d54SAkhilesh Sanikop  * efone - Distributed internet phone system.
3*57696d54SAkhilesh Sanikop  *
4*57696d54SAkhilesh Sanikop  * (c) 1999,2000 Krzysztof Dabrowski
5*57696d54SAkhilesh Sanikop  * (c) 1999,2000 ElysiuM deeZine
6*57696d54SAkhilesh Sanikop  *
7*57696d54SAkhilesh Sanikop  * This program is free software; you can redistribute it and/or
8*57696d54SAkhilesh Sanikop  * modify it under the terms of the GNU General Public License
9*57696d54SAkhilesh Sanikop  * as published by the Free Software Foundation; either version
10*57696d54SAkhilesh Sanikop  * 2 of the License, or (at your option) any later version.
11*57696d54SAkhilesh Sanikop  *
12*57696d54SAkhilesh Sanikop  */
13*57696d54SAkhilesh Sanikop 
14*57696d54SAkhilesh Sanikop /* based on implementation by Finn Yannick Jacobs. */
15*57696d54SAkhilesh Sanikop 
16*57696d54SAkhilesh Sanikop #include <stdint.h>
17*57696d54SAkhilesh Sanikop 
18*57696d54SAkhilesh Sanikop void chksum_crc32gentab ();
19*57696d54SAkhilesh Sanikop uint32_t chksum_crc32 (unsigned char *block, unsigned int length);
20*57696d54SAkhilesh Sanikop extern unsigned int crc_tab[256];
21