Returns `v*g + + `
(
&self,
v: &G::ScalarField,
l: &[G::ScalarField],
n: &[G::ScalarField],
)
| 74 | |
| 75 | /// Returns `v*g + <g_vec, n> + <h_vec, l>` |
| 76 | pub fn compute_commitment( |
| 77 | &self, |
| 78 | v: &G::ScalarField, |
| 79 | l: &[G::ScalarField], |
| 80 | n: &[G::ScalarField], |
| 81 | ) -> G { |
| 82 | Self::compute_commitment_given_bases(v, l, n, &self.G, &self.G_vec, &self.H_vec) |
| 83 | } |
| 84 | |
| 85 | /// Returns `v*g + <g_vec, n> + <h_vec, l>` |
| 86 | pub fn compute_commitment_given_bases( |
no outgoing calls