halo2curves_axiom

Macro serialize_deserialize_32_byte_primefield

Source
macro_rules! serialize_deserialize_32_byte_primefield {
    ($type:ty) => { ... };
}
Expand description

A macro to help define serialization and deserialization for prime field implementations that use 32-byte representations. This assumes the concerned type implements PrimeField (for from_repr, to_repr).