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

Functions

template<domain D :shared3p >
D xor_uint8 reshare (D uint8 input)
 
template<domain D :shared3p >
D xor_uint8 reshare (D int8 input)
 
template<domain D :shared3p >
D uint8 reshare (D xor_uint8 input)
 
template<domain D :shared3p >
D xor_uint16 reshare (D uint16 input)
 
template<domain D :shared3p >
D xor_uint16 reshare (D int16 input)
 
template<domain D :shared3p >
D uint16 reshare (D xor_uint16 input)
 
template<domain D :shared3p >
D xor_uint32 reshare (D uint32 input)
 
template<domain D :shared3p >
D xor_uint32 reshare (D int32 input)
 
template<domain D :shared3p >
D uint32 reshare (D xor_uint32 input)
 
template<domain D :shared3p >
D xor_uint64 reshare (D uint64 input)
 
template<domain D :shared3p >
D xor_uint64 reshare (D int64 input)
 
template<domain D :shared3p >
D uint64 reshare (D xor_uint64 input)
 

Detailed Description

Function for converting uint(X) type values to xor_uint(X) and the other way around.

Note
D - shared3p protection domain
Supported types - xor_uint8 / xor_uint16 / xor_uint32 / xor_uint64
Parameters
input- the input value to convert
Returns
returns a converted value from uint(X) -> xor_uint(X) or xor_uint(X) -> uint(X)
Leakage
None

Function Documentation

◆ reshare() [1/12]

template<domain D :shared3p >
D xor_uint16 reshare ( D int16  input)

◆ reshare() [2/12]

template<domain D :shared3p >
D xor_uint32 reshare ( D int32  input)

◆ reshare() [3/12]

template<domain D :shared3p >
D xor_uint64 reshare ( D int64  input)

◆ reshare() [4/12]

template<domain D :shared3p >
D xor_uint8 reshare ( D int8  input)

◆ reshare() [5/12]

template<domain D :shared3p >
D xor_uint16 reshare ( D uint16  input)

◆ reshare() [6/12]

template<domain D :shared3p >
D xor_uint32 reshare ( D uint32  input)

◆ reshare() [7/12]

template<domain D :shared3p >
D xor_uint64 reshare ( D uint64  input)

◆ reshare() [8/12]

template<domain D :shared3p >
D xor_uint8 reshare ( D uint8  input)

◆ reshare() [9/12]

template<domain D :shared3p >
D uint16 reshare ( D xor_uint16  input)

◆ reshare() [10/12]

template<domain D :shared3p >
D uint32 reshare ( D xor_uint32  input)

◆ reshare() [11/12]

template<domain D :shared3p >
D uint64 reshare ( D xor_uint64  input)

◆ reshare() [12/12]

template<domain D :shared3p >
D uint8 reshare ( D xor_uint8  input)