Enum tari_bulletproofs::range_proof_mpc::MPCError [−][src]
pub enum MPCError { MaliciousDealer, InvalidBitsize, InvalidAggregation, InvalidGeneratorsLength, WrongNumBitCommitments, WrongNumPolyCommitments, WrongNumProofShares, MalformedProofShares { bad_shares: Vec<usize>, }, }
Expand description
Represents an error during the multiparty computation protocol for proof aggregation.
This is a separate type from the ProofError
to allow a layered
API: although the MPC protocol is used internally for single-party
proving, its API should not expose the complexity of the MPC
protocol.
Variants
This error occurs when the dealer gives a zero challenge, which would annihilate the blinding factors.
This error occurs when attempting to create a proof with bitsize other than \(8\), \(16\), \(32\), or \(64\).
This error occurs when attempting to create an aggregated proof with non-power-of-two aggregation size.
This error occurs when there are insufficient generators for the proof.
This error occurs when the dealer is given the wrong number of value commitments.
This error occurs when the dealer is given the wrong number of polynomial commitments.
This error occurs when the dealer is given the wrong number of proof shares.
This error occurs when one or more parties submit malformed proof shares.
Show fields
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MPCError
impl UnwindSafe for MPCError
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V