hacspec_lib::prelude

Function div_scalar

Source
pub fn div_scalar<T: Integer + Copy>(a: &Seq<T>, scalar: T, p: T) -> Seq<T>
Expand description

Scalar division in R_p. Returns a / scalar mod p.