SecreC 2 language  2.8.0 (2023.09)
Language and standard library reference
Functions

Functions

template<domain D :shared3p >
D xor_uint8 kl_str (string s)
 

Detailed Description

Function for constructing a known length string from given public string.

Note
D - shared3p protection domain
Private strings are XOR shared to optimize for equality and comparison checks.
Parameters
s- a string
Returns
XOR shared byte array of length equal to the input public string.

Function Documentation

◆ kl_str()

D xor_uint8 kl_str ( string  s)