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

Functions

template<domain D :shared3p >
D bool bl_strEquals (D xor_uint8 s, D xor_uint8 t)
 
template<domain D :shared3p >
D bool bl_strEquals (BlStringVector< D > s, BlStringVector< D > t)
 

Detailed Description

Compare two string with each other.

Note
D - shared3p protection domain
Supported types - xor_uint8
Parameters
s,t- vectors of supported type
Returns
returns true if the two input strings are equal
Leakage
None

Function Documentation

◆ bl_strEquals() [1/2]

template<domain D :shared3p >
D bool bl_strEquals ( BlStringVector< D >  s,
BlStringVector< D >  t 
)

Performs pointwise equality comparison of bounded-length string vectors.

Note
D - shared3p protection domain
Parameters
s- string vector
t- string vector
Returns
returns a boolean indicating if the strings in the corresponding position in s and t were equal
Leakage
None

◆ bl_strEquals() [2/2]

template<domain D :shared3p >
D bool bl_strEquals ( D xor_uint8  s,
D xor_uint8  t 
)