SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions
CRC(0 initial hash)

Functions

template<domain D :shared3p , dim N>
D xor_uint16 CRC16 (D xor_uint8 input)
 
template<domain D :shared3p , dim N>
D xor_uint32 CRC32 (D xor_uint8 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()

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

◆ CRC32()

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