Attribute Macros§
- refify_
binary_ op - This trait auto impls all combinations of borrowed and owned for binary
std::ops
traits. To use this, you must implstd::ops::Op<&T> for &T
and this macro will auto create the other traits to call your impl by borrowing the rhs or self as appropriate.
Derive Macros§
- Barrett
Config - Derive the config for a ring over Z_q using Barrett reductions for multiplication modulo q.