Skip to main content

ct_select_u8

Function ct_select_u8 

Source
pub fn ct_select_u8(if_false: u8, if_true: u8, choice: Choice) -> u8
Expand description

Constant-time selection between two u8 values: returns if_true when choice is true, otherwise if_false.