MIDAS
|
#include "crc32c.h"
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
#include <pthread.h>
Go to the source code of this file.
Macros | |
#define | POLY 0x82f63b78 |
#define | LONG 8192 |
#define | LONGx1 "8192" |
#define | LONGx2 "16384" |
#define | SHORT 256 |
#define | SHORTx1 "256" |
#define | SHORTx2 "512" |
Functions | |
static void | crc32c_init_sw (void) |
uint32_t | crc32c_sw (uint32_t crci, const void *buf, size_t len) |
static uint32_t | gf2_matrix_times (uint32_t *mat, uint32_t vec) |
static void | gf2_matrix_square (uint32_t *square, uint32_t *mat) |
static uint32_t | crc32c_shift (uint32_t zeros[][256], uint32_t crc) |
uint32_t | crc32c (uint32_t crc, const void *buf, size_t len) |
Variables | |
static pthread_once_t | crc32c_once_sw = PTHREAD_ONCE_INIT |
static uint32_t | crc32c_table [8][256] |
#define LONG 8192 |
Definition at line 230 of file crc32c.cxx.
#define LONGx1 "8192" |
Definition at line 231 of file crc32c.cxx.
#define LONGx2 "16384" |
Definition at line 232 of file crc32c.cxx.
#define POLY 0x82f63b78 |
Definition at line 64 of file crc32c.cxx.
#define SHORT 256 |
Definition at line 233 of file crc32c.cxx.
#define SHORTx1 "256" |
Definition at line 234 of file crc32c.cxx.
#define SHORTx2 "512" |
Definition at line 235 of file crc32c.cxx.
Definition at line 391 of file crc32c.cxx.
Definition at line 71 of file crc32c.cxx.
Definition at line 99 of file crc32c.cxx.
Definition at line 150 of file crc32c.cxx.
Definition at line 134 of file crc32c.cxx.
|
static |
Definition at line 67 of file crc32c.cxx.
|
static |
Definition at line 68 of file crc32c.cxx.