primeorder

Macro impl_mont_field_element_arithmetic

source
macro_rules! impl_mont_field_element_arithmetic {
    (
        $fe:tt,
        $bytes:ty,
        $uint:ty,
        $arr:ty,
        $add:ident,
        $sub:ident,
        $mul:ident,
        $neg:ident
    ) => { ... };
}
Expand description

Add arithmetic impls to the given field element.