Skip to main content

to_monty

Function to_monty 

Source
pub(crate) fn to_monty(x: &BoxedUint, p: &BoxedMontyParams) -> BoxedMontyForm
Expand description

Convert any input precision to Montgomery form. Loop counts and allocations depend only on buffer precisions, which callers must choose independently of secret values.