Expand description
The circuit itself
Constants§
- MPC_
AUXILIARY_ INVARIANT_ LAYER - all other public inputs, such as the evaluation points, the encoding matrix, the lookup_table_values. Should (probably) be public + common among parties.
- MPC_
AUXILIARY_ LAYER - The input layer for quotients and multiplicities
- MPC_
ENCODING_ MATRIX_ SHRED - MPC_
EVALUATION_ POINTS_ SHRED - MPC_
IRISCODE_ INPUT_ LAYER - The private input layer for the iris code (private), obtained through running the iriscode circuit
- MPC_
IRISCODE_ SHRED - MPC_
LOOKUP_ TABLE_ VALUES_ SHRED - MPC_
MASKCODE_ INPUT_ LAYER - The private input layer for the mask code (private), obtained through running the iriscode circuit
- MPC_
MASKCODE_ SHRED - MPC_
MULTIPLICITIES_ SHARES_ SHRED - MPC_
MULTIPLICITIES_ SLOPES_ SHRED - MPC_
QUOTIENTS_ SHRED - MPC_
SHARES_ LAYER - The input layer for shares_reduced_modulo_gr4_modulus, public
- MPC_
SHARES_ SHRED - MPC_
SLOPES_ LAYER - The private input layer for the slope (private and generated randomly).
- MPC_
SLOPES_ SHRED
Functions§
- build_
circuit - Builds the mpc circuit. The full circuit spec can be referenced here: https://www.notion.so/MPC-Circuit-Builders-8fe15c8d8f4b4db18cbf85344ccbb9df?pvs=4
- mpc_
attach_ data - Generates a mapping from Layer IDs to their respective MLEs,
by attaching the
MPCInputBuilderMetadataonto a circuit that is described through theinput_builder_metadataof an MPC secret share circuit.