We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loop in https://github.com/anoma/ferveo/blob/master/tpke/src/decryption.rs#L67 can be sped up by using arkworks VariableBaseMSM.
The code below shows an initial approach (currently failing with errors):
use ark_ec::msm::VariableBaseMSM; // sum_D_j = { [\sum_j \alpha_{i,j} ] D_i } for (D, alpha_j, sum_alpha_D_i) in izip!(shares.iter(), alpha_ij.iter(), sum_D_j.iter_mut()) { let Dj = D.iter().map(|Dij| Dij.decryption_share).collect::<Vec<_>>(); let alpha_j = alpha_j.iter().map(|a| a.into_repr()).collect::<Vec<_>>(); *sum_alpha_D_i = VariableBaseMSM::multi_scalar_mul(&Dj, &alpha_j); }
The text was updated successfully, but these errors were encountered:
saving work on #54
3b17b95
It seems there is potential to speed up MSM further, also; see: https://github.com/Manta-Network/wasm-zkp-challenge/blob/optimized_pippenger/src/pippenger_msm.rs (above is GPL licensed)
Sorry, something went wrong.
Merge pull request anoma#54 from theref/TODO
6022f00
Begin fixing TODO's in codebase
No branches or pull requests
Loop in https://github.com/anoma/ferveo/blob/master/tpke/src/decryption.rs#L67 can be sped up by using arkworks VariableBaseMSM.
The code below shows an initial approach (currently failing with errors):
The text was updated successfully, but these errors were encountered: