Module prio::idpf

source ·
Available on crate features crypto-dependencies and experimental only.
Expand description

This module implements the incremental distributed point function (IDPF) described in [draft-irtf-cfrg-vdaf-08].

Modules§

Structs§

  • A simple IdpfCache implementation that caches intermediate results in an in-memory hash map, with no eviction.
  • This defines a family of IDPFs (incremental distributed point functions) with certain types of values at inner tree nodes and at leaf tree nodes.
  • An index used as the input to an IDPF evaluation.
  • An IDPF public share. This contains the list of correction words used by all parties when evaluating the IDPF.
  • A no-op IdpfCache implementation that always reports a cache miss.
  • A simple IdpfCache implementation that caches intermediate results in memory, with first-in-first-out eviction, and lookups via linear probing.

Enums§

Traits§

  • An interface that provides memoization of IDPF computations.
  • Trait for values to be programmed into an IDPF.