Name

crc_itu_t — Compute the CRC-ITU-T for the data buffer

Synopsis

u16 crc_itu_t (u16 crc,
 const u8 * buffer,
 size_t len);
 

Arguments

u16 crc

previous CRC value

const u8 * buffer

data pointer

size_t len

number of bytes in the buffer

Description

Returns the updated CRC value