pub fn ct_select<T: Copy + Default>(condition: bool, a: T, b: T) -> T
Select between two values in constant time based on a condition.
Returns a if condition is true, b otherwise.
a
condition
b