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

Functions

template<domain D :shared2p >
D xor_uint8 reshare (D uint8 input)
 
template<domain D :shared2p >
D uint8 reshare (D xor_uint8 input)
 
template<domain D :shared2p >
D xor_uint16 reshare (D uint16 input)
 
template<domain D :shared2p >
D uint16 reshare (D xor_uint16 input)
 
template<domain D :shared2p >
D xor_uint32 reshare (D uint32 input)
 
template<domain D :shared2p >
D uint32 reshare (D xor_uint32 input)
 
template<domain D :shared2p >
D xor_uint64 reshare (D uint64 input)
 
template<domain D :shared2p >
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 - shared2p 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)

Function Documentation

◆ reshare() [1/8]

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

◆ reshare() [2/8]

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

◆ reshare() [3/8]

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

◆ reshare() [4/8]

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

◆ reshare() [5/8]

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

◆ reshare() [6/8]

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

◆ reshare() [7/8]

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

◆ reshare() [8/8]

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