kayabaNerve / full-chain-membership-proofs

18 stars 1 forks source link

EC IP library isn't constant time #22

Open kayabaNerve opened 1 year ago

kayabaNerve commented 1 year ago

And then this will make us constant time w.r.t. the amount of points interpolated, yet leaves our timing dynamic to the amount of non-zero trits. For Divisor::new, we need to continue calculating the divisor, simply dropping the result, until a padded amount of points. For differentation/evaluation, we probably need to pad the divisor out (where Divisor::new can pad before returning).