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

Functions

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

Detailed Description

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

Note
D - shared3p protection domain
Supported types - xor_uint8
Parameters
input- the input byte vector
hash- the initial hash of type xor_uint16 or xor_uint32
Leakage
None

Function Documentation

◆ CRC16()

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

◆ CRC32()

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