Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DrPeterVanNostrand/halo2-merkle
/ functions
Functions
59 in github.com/DrPeterVanNostrand/halo2-merkle
⨍
Functions
59
◇
Types & classes
17
↓ 7 callers
Function
vec_matrix_mul
(v: &[Fp], m: &[Vec<Fp>])
src/poseidon_chip.rs:136
↓ 7 callers
Function
vec_matrix_mul
(v: &[Fp], m: &[Vec<Fp>])
src/poseidon_wrapped.rs:128
↓ 4 callers
Method
cell
(&self)
src/poseidon_chip.rs:170
↓ 4 callers
Function
pow5
(x: Fp)
src/poseidon_chip.rs:114
↓ 4 callers
Function
pow5
(x: Fp)
src/poseidon_wrapped.rs:106
↓ 3 callers
Function
sbox_post
(state: &[Fp], post_keys: &[Fp])
src/poseidon_chip.rs:124
↓ 3 callers
Function
sbox_post
(state: &[Fp], post_keys: &[Fp])
src/poseidon_wrapped.rs:116
↓ 3 callers
Method
value
(&self)
src/poseidon_chip.rs:163
↓ 2 callers
Method
alloc_full_round
( &self, layouter: &mut impl Layouter<Fp>, // We need to pass in the `state` as `Maybe
src/poseidon_chip.rs:351
↓ 2 callers
Method
alloc_full_round
( &self, layouter: &mut impl Layouter<Fp>, state_alloc: &[Alloc], round: usize
src/poseidon_wrapped.rs:372
↓ 2 callers
Method
hash_layer_inner
( &self, layouter: &mut impl Layouter<Fp>, leaf_or_digest: MaybeAlloc, path_el
src/main.rs:212
↓ 2 callers
Function
mock_hash
This serves as a mock hash function because the Poseidon chip has not yet been implemented.
src/main.rs:46
↓ 2 callers
Function
sbox_no_add
(state: &[Fp])
src/poseidon_chip.rs:130
↓ 2 callers
Function
sbox_no_add
(state: &[Fp])
src/poseidon_wrapped.rs:122
↓ 2 callers
Function
sbox_pre_post
(state: &[Fp])
src/poseidon_chip.rs:118
↓ 2 callers
Function
sbox_pre_post
(state: &[Fp])
src/poseidon_wrapped.rs:110
↓ 1 callers
Method
alloc_partial_round
( &self, layouter: &mut impl Layouter<Fp>, state: &[MaybeAlloc], round: usize,
src/poseidon_chip.rs:505
↓ 1 callers
Method
alloc_partial_round
( &self, layouter: &mut impl Layouter<Fp>, state_alloc: &[Alloc], round: usize
src/poseidon_wrapped.rs:510
↓ 1 callers
Method
cell
(&self)
src/main.rs:68
↓ 1 callers
Method
gen_path
(&self, c: usize)
src/main.rs:389
↓ 1 callers
Method
hash
( &self, layouter: &mut impl Layouter<Fp>, preimg_alloc: Vec<Alloc>, )
src/poseidon_wrapped.rs:350
↓ 1 callers
Method
hash_leaf_layer
( &self, layouter: &mut impl Layouter<Fp>, leaf: Fp, path_elem: Fp, c_
src/main.rs:191
↓ 1 callers
Method
hash_non_leaf_layer
( &self, layouter: &mut impl Layouter<Fp>, prev_digest: Alloc, path_elem: Fp,
src/main.rs:201
↓ 1 callers
Method
is_allocated
(&self)
src/poseidon_chip.rs:178
↓ 1 callers
Function
is_full_round
(round: usize)
src/poseidon_chip.rs:106
↓ 1 callers
Function
is_full_round
(round: usize)
src/poseidon_wrapped.rs:98
↓ 1 callers
Function
is_partial_round
(round: usize)
src/poseidon_chip.rs:110
↓ 1 callers
Function
is_partial_round
(round: usize)
src/poseidon_wrapped.rs:102
↓ 1 callers
Method
leafs
(&self)
src/main.rs:385
↓ 1 callers
Method
root
(&self)
src/main.rs:381
↓ 1 callers
Method
value
(&self)
src/main.rs:61
Method
config
(&self)
src/main.rs:97
Method
config
(&self)
src/poseidon_chip.rs:215
Method
config
(&self)
src/poseidon_wrapped.rs:200
Method
configure
(cs: &mut ConstraintSystem<Fp>)
src/main.rs:111
Method
configure
(cs: &mut ConstraintSystem<Fp>, digest_col: Column<Advice>)
src/poseidon_chip.rs:229
Method
configure
(cs: &mut ConstraintSystem<Fp>)
src/poseidon_wrapped.rs:214
Method
is_unallocated
(&self)
src/poseidon_chip.rs:185
Method
loaded
(&self)
src/main.rs:101
Method
loaded
(&self)
src/poseidon_chip.rs:219
Method
loaded
(&self)
src/poseidon_wrapped.rs:204
Function
main
()
src/main.rs:405
Function
main
()
src/poseidon_chip.rs:765
Function
main
()
src/poseidon_wrapped.rs:731
Method
new
(config: MerkleChipConfig)
src/main.rs:107
Method
new
(config: PoseidonChipConfig)
src/poseidon_chip.rs:225
Method
new
(config: PoseidonChipConfig)
src/poseidon_wrapped.rs:210
Function
poseidon
(preimg: &[Fp])
src/poseidon_chip.rs:739
Function
poseidon
(preimg: &[Fp])
src/poseidon_wrapped.rs:142
Method
rand
()
src/main.rs:366
Function
rand_matrix
(seed: [u8; 32])
src/poseidon_chip.rs:98
Function
rand_matrix
(seed: [u8; 32])
src/poseidon_wrapped.rs:90
Function
rand_post_keys
(seed: [u8; 32])
src/poseidon_chip.rs:81
Function
rand_post_keys
(seed: [u8; 32])
src/poseidon_wrapped.rs:75
Function
rand_pre_keys
(seed: [u8; 32])
src/poseidon_chip.rs:71
Function
rand_pre_keys
(seed: [u8; 32])
src/poseidon_wrapped.rs:68
Method
synthesize
(&self, cs: &mut impl Assignment<Fp>, config: Self::Config)
src/main.rs:341
Method
synthesize
(&self, cs: &mut impl Assignment<Fp>, config: Self::Config)
src/poseidon_chip.rs:694
Method
synthesize
(&self, cs: &mut impl Assignment<Fp>, config: Self::Config)
src/poseidon_wrapped.rs:678