You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DanieleDiBenedetto
changed the title
Apparent hashing of duplicated information in IpaPc::setup() function
Apparent hashing of duplicated information in InnerProductArgPC::setup() function
Jul 16, 2021
Currently, when generating the committer key, we also hash the max degree along with the generators (https://github.com/HorizenLabs/poly-commit/blob/dev/src/ipa_pc/mod.rs#L684):
let hash = D::digest(&to_bytes![&generators, max_degree as u32].unwrap()).to_vec();
It seems to me we are hashing a duplicated information, since already
generators.len() == max_degree
.Can we remove it from the hash ?
The text was updated successfully, but these errors were encountered: