Skip to content

File SolidSyslogCrc16.h

FileList > Core > Interface > SolidSyslogCrc16.h

Go to the source code of this file

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

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

Public Functions

Type Name
EXTERN_C_BEGIN uint16_t SolidSyslogCrc16_Compute (const uint8_t * data, uint16_t length)
Compute the CRC-16/CCITT-FALSE checksum (poly 0x1021, init 0xFFFF, no reflection, no final XOR; a.k.a.

Detailed Description

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

function SolidSyslogCrc16_Compute

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

EXTERN_C_BEGIN 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