API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_hash_crc_param_t Struct Reference

CRC parameters. More...

#include <hash.h>

Data Fields

uint32_t width
 CRC width in bits.
 
uint64_t poly
 Polynomial (stored in 'width' LSB bits)
 
odp_bool_t reflect_in
 0: don't reflect, 1: reflect bits in input bytes
 
odp_bool_t reflect_out
 0: don't reflect, 1: reflect bits in output bytes
 
uint64_t xor_out
 XOR this value to CRC output (stored in 'width' LSB bits)
 

Detailed Description

CRC parameters.

Supports CRCs up to 64 bits

Definition at line 59 of file api/spec/hash.h.

Field Documentation

◆ width

uint32_t odp_hash_crc_param_t::width

CRC width in bits.

Definition at line 61 of file api/spec/hash.h.

◆ poly

uint64_t odp_hash_crc_param_t::poly

Polynomial (stored in 'width' LSB bits)

Definition at line 63 of file api/spec/hash.h.

◆ reflect_in

odp_bool_t odp_hash_crc_param_t::reflect_in

0: don't reflect, 1: reflect bits in input bytes

Definition at line 65 of file api/spec/hash.h.

◆ reflect_out

odp_bool_t odp_hash_crc_param_t::reflect_out

0: don't reflect, 1: reflect bits in output bytes

Definition at line 67 of file api/spec/hash.h.

◆ xor_out

uint64_t odp_hash_crc_param_t::xor_out

XOR this value to CRC output (stored in 'width' LSB bits)

Definition at line 69 of file api/spec/hash.h.


The documentation for this struct was generated from the following file: