Expand description
Compile-time protocol suite selection.
An MpcConfig bundles the elliptic curve and the standalone MPC field that circuits and the
online phase are instantiated with. The curve fixes the point/scalar/base-field backends; the
MPC field is the additional prime-field-like backend historically hardcoded to Mersenne107.
Structs§
- Default
Config - Production suite: Ristretto25519 + Mersenne107.
Traits§
- MpcConfig
- Compile-time protocol suite: the elliptic curve and the standalone MPC field.
Functions§
- name_
tag - Fixed-width identifier of a
Namedtype (curve or MPC field), embedded in the serialized circuit format: the name as UTF-8, zero-padded to 32 bytes. - tag_
name - Best-effort inverse of
name_tagfor error messages.