Module halo2_gadgets::sinsemilla::merkle
source · Expand description
Gadgets for implementing a Merkle tree with Sinsemilla.
Modules
- Chip implementing a Merkle hash using Sinsemilla as the hash function.
Structs
- Gadget representing a Merkle path that proves a leaf exists in a Merkle tree at a specific position.
Constants
- SWU hash-to-curve personalization for the Merkle CRH generator
Traits
- Instructions to check the validity of a Merkle path of a given
PATH_LENGTH
. The hash function used is a Sinsemilla instance withK
-bit words. The hash function can processMAX_WORDS
words.