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

Functions

template<domain D :shared3p >
D bool bl_strEquals (D xor_uint8[[1]] s, D xor_uint8[[1]] 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]

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]

D bool bl_strEquals ( D xor_uint8[[1]]  s,
D xor_uint8[[1]]  t 
)