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

Modules

 choose(multiple conditions)
 
 choose(single condition)
 

Detailed Description

Function for obliviously choosing one of the inputs.

Note
D - all protection domains
Returns
returns one of the input arrays that was obliviously chosen with the condition
Leakage
None