Skip to main content

nb_const

Function nb_const 

Source
pub fn nb_const(sub: bool, low: bool) -> b85
Expand description

A limb (the low one or a higher one) of the constant added to x (b, or !b for subtraction) to form nb: !b + (2^255 - 18) = p - b mod 2^255, or b + 0.