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

Functions

template<domain D :shared3p >
D uint bl_strLength (D xor_uint8[[1]] s)
 
template<domain D :shared3p >
D uint bl_strLength (BlStringVector< D > s, uint i)
 

Detailed Description

Function for finding the length of the given input string.

Note
D - shared3p protection domain
Supported types - xor_uint8
Parameters
s- a vector of supported type
Returns
returns the actual length of the bounded lengthed input string
Leakage
None

Function Documentation

◆ bl_strLength() [1/2]

D uint bl_strLength ( BlStringVector< D >  s,
uint  i 
)
Note
D - shared3p protection domain
param s - bounded-length string vector
param i - position of string
Returns
returns the actual length of the string at position i
Leakage
None

◆ bl_strLength() [2/2]

D uint bl_strLength ( D xor_uint8[[1]]  s)