ct_select

Function ct_select 

Source
pub fn ct_select<T: Copy + Default>(condition: bool, a: T, b: T) -> T
Expand description

Select between two values in constant time based on a condition.

Returns a if condition is true, b otherwise.