Module snarkvm_marlin::fiat_shamir[][src]

Expand description

RNGs for the Marlin SNARK.

Re-exports

pub use traits::*;

Modules

traits

Traits for the Fiat-Shamir RNG.

Structs

FiatShamirAlgebraicSpongeRng

An RNG from any algebraic sponge

FiatShamirAlgebraicSpongeRngVar

Building the Fiat-Shamir sponge’s gadget from any algebraic sponge’s gadget.

FiatShamirChaChaRng

Implements a Fiat-Shamir based Rng that allows one to incrementally update the seed based on new messages in the proof transcript. Use a ChaCha stream cipher to generate the actual pseudorandom bits. Use a digest function to do absorbing.

PoseidonSponge

The sponge for Poseidon

PoseidonSpongeVar

the gadget for Poseidon sponge

Enums

FiatShamirError

A enum specifying the possible failure modes of FiatShamir.