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

Functions

template<domain D :shared3p >
string bl_strDeclassify (D xor_uint8[[1]] ps)
 
template<domain D :shared3p >
string bl_strDeclassify (BlStringVector< D > str, uint i)
 

Detailed Description

Function for converting an array of type xor_uint8 to a string.

Note
D - shared3p protection domain
Supported types - xor_uint8
Parameters
ps- a vector of supported type
Returns
returns a declassified bounded length string, extra bytes are removed
Leakage
Leaks the input

Function Documentation

◆ bl_strDeclassify() [1/2]

string bl_strDeclassify ( BlStringVector< D >  str,
uint  i 
)
Parameters
str- input string vector
i- position of string to declassify

◆ bl_strDeclassify() [2/2]

string bl_strDeclassify ( D xor_uint8[[1]]  ps)