Skip to main content

opaque

Function opaque 

Source
pub fn opaque(x: u64) -> u64
Expand description

Returns x unchanged, hidden from the optimizer, so a mask derived from secret bits cannot be turned back into a branch (LLVM may otherwise rewrite masked selection as a conditional jump). Unlike core::hint::black_box the value stays in a register.