FreeBSD kernel libkern code
|
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/systm.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$BSDSUniX$") | |
static uint32_t | singletable_crc32c (uint32_t crc, const void *buf, size_t size) |
static uint32_t | crc32c_sb8_64_bit (uint32_t crc, const unsigned char *p_buf, uint32_t length, uint32_t init_bytes) |
static uint32_t | multitable_crc32c (uint32_t crc32c, const unsigned char *buffer, unsigned int length) |
uint32_t | calculate_crc32c (uint32_t crc32c, const unsigned char *buffer, unsigned int length) |
Variables | |
uint32_t | crc32_tab [] |
static uint32_t | crc32Table [256] |
static uint32_t | sctp_crc_tableil8_o32 [256] |
static uint32_t | sctp_crc_tableil8_o40 [256] |
static uint32_t | sctp_crc_tableil8_o48 [256] |
static uint32_t | sctp_crc_tableil8_o56 [256] |
static uint32_t | sctp_crc_tableil8_o64 [256] |
static uint32_t | sctp_crc_tableil8_o72 [256] |
static uint32_t | sctp_crc_tableil8_o80 [256] |
static uint32_t | sctp_crc_tableil8_o88 [256] |
__FBSDID | ( | "$BSDSUniX$" | ) |
uint32_t calculate_crc32c | ( | uint32_t | crc32c, |
const unsigned char * | buffer, | ||
unsigned int | length | ||
) |
Definition at line 748 of file crc32.c.
References multitable_crc32c(), and singletable_crc32c().
|
static |
Definition at line 677 of file crc32.c.
References sctp_crc_tableil8_o32, sctp_crc_tableil8_o40, sctp_crc_tableil8_o48, sctp_crc_tableil8_o56, sctp_crc_tableil8_o64, sctp_crc_tableil8_o72, sctp_crc_tableil8_o80, and sctp_crc_tableil8_o88.
Referenced by multitable_crc32c().
|
static |
Definition at line 734 of file crc32.c.
References crc32c_sb8_64_bit().
Referenced by calculate_crc32c().
|
static |
Definition at line 205 of file crc32.c.
References crc32Table.
Referenced by calculate_crc32c().
|
static |
Definition at line 137 of file crc32.c.
Referenced by singletable_crc32c().
|
static |
Definition at line 243 of file crc32.c.
Referenced by crc32c_sb8_64_bit().
|
static |
Definition at line 299 of file crc32.c.
Referenced by crc32c_sb8_64_bit().
|
static |
Definition at line 355 of file crc32.c.
Referenced by crc32c_sb8_64_bit().
|
static |
Definition at line 411 of file crc32.c.
Referenced by crc32c_sb8_64_bit().
|
static |
Definition at line 467 of file crc32.c.
Referenced by crc32c_sb8_64_bit().
|
static |
Definition at line 523 of file crc32.c.
Referenced by crc32c_sb8_64_bit().
|
static |
Definition at line 579 of file crc32.c.
Referenced by crc32c_sb8_64_bit().
|
static |
Definition at line 635 of file crc32.c.
Referenced by crc32c_sb8_64_bit().