|
libosmocore 1.13.1.12-8e6ea
Osmocom core library
|
Osmocom generic CRC routines (for max 8 bits poly). More...
#include <stdint.h>#include "config.h"#include <osmocom/core/bits.h>#include <osmocom/core/crc8gen.h>Functions | |
| uint8_t | osmo_crc8gen_compute_bits (const struct osmo_crc8gen_code *code, const ubit_t *in, int len) |
| Compute the CRC value of a given array of hard-bits. More... | |
| int | osmo_crc8gen_check_bits (const struct osmo_crc8gen_code *code, const ubit_t *in, int len, const ubit_t *crc_bits) |
| Checks the CRC value of a given array of hard-bits. More... | |
| void | osmo_crc8gen_set_bits (const struct osmo_crc8gen_code *code, const ubit_t *in, int len, ubit_t *crc_bits) |
| Computes and writes the CRC value of a given array of bits. More... | |
Osmocom generic CRC routines (for max 8 bits poly).