Redo the Bulletproofs impl

Uses the IP-impl from the FCMP++ work.
This commit is contained in:
Luke Parker
2024-07-10 20:56:53 -04:00
parent 3ddf1eec0c
commit 7a68b065e0
12 changed files with 794 additions and 431 deletions

View File

@@ -6,10 +6,7 @@ use curve25519_dalek::{constants::ED25519_BASEPOINT_POINT, scalar::Scalar, edwar
use monero_generators::{H, Generators};
pub(crate) use crate::scalar_vector::ScalarVector;
mod point_vector;
pub(crate) use point_vector::PointVector;
pub(crate) use crate::{scalar_vector::ScalarVector, point_vector::PointVector};
pub(crate) mod transcript;
pub(crate) mod weighted_inner_product;
@@ -31,7 +28,6 @@ pub(crate) enum GeneratorsList {
HBold,
}
// TODO: Table these
#[derive(Clone, Debug)]
pub(crate) struct BpPlusGenerators {
g_bold: &'static [EdwardsPoint],