SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions
CRC(0 initial hash)

Functions

template<domain D :shared3p , dim N>
D xor_uint16 CRC16 (D xor_uint8[[N]] input)
 
template<domain D :shared3p , dim N>
D xor_uint32 CRC32 (D xor_uint8[[N]] input)
 

Detailed Description

Compute CRC hash of the input byte array with 0 initial hash.

Note
D - shared3p protection domain
Supported types - xor_uint8
Parameters
input- the input byte vector
Leakage
None

Function Documentation

◆ CRC16()

D xor_uint16 CRC16 ( D xor_uint8[[N]]  input)

◆ CRC32()

D xor_uint32 CRC32 ( D xor_uint8[[N]]  input)