ct_select

Function ct_select 

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

Constant-time selection of a byte

Returns a if condition is false, b if condition is true. This function runs in constant time regardless of the input values.