Skip to content

File SolidSyslogCrc16.h

FileList > Core > Interface > SolidSyslogCrc16.h

  • #include "SolidSyslogExternC.h"
  • #include <stdint.h>

Detailed Description

CRC-16/CCITT-FALSE checksum (poly 0x1021, init 0xFFFF, no reflection, no final XOR; a.k.a.

CRC-16/IBM-3740, check value 0x29B1). A pure function over a byte range - no state, no lifecycle. Used by SolidSyslogCrc16Policy for an unkeyed at-rest integrity trailer.

Public Functions Documentation

SolidSyslogCrc16_Compute

Compute the CRC-16/CCITT-FALSE checksum (poly 0x1021, init 0xFFFF, no reflection, no final XOR; a.k.a.

uint16_t SolidSyslogCrc16_Compute (
    const uint8_t * data,
    uint16_t length
) 

CRC-16/IBM-3740, check value 0x29B1) over data[0 .. length).



The documentation for this class was generated from the following file Core/Interface/SolidSyslogCrc16.h