Function prio::vdaf::prio3_input[][src]

pub fn prio3_input<V: Value>(
    suite: Suite,
    input: &V,
    num_shares: u8
) -> Result<Vec<InputShareMessage<V::Field>>, VdafError>
Expand description

The input-distribution algorithm of the VDAF. Run by the client, this generates the sequence of InputShareMessage messages to send to the aggregators. Note that this particular VDAF does not have a public parameter.

Parameters

  • suite is the cipher suite used for key derivation.
  • input is the input to be secret shared.
  • num_shares is the number of input shares (i.e., aggregators) to generate.