# [−][src]Module bulletproofs::util

## Structs

Poly2 | Represents a degree-2 scalar polynomial \(a + b \cdot x + c \cdot x^2\) |

Poly6 | Represents a degree-6 scalar polynomial, without the zeroth degree \(a \cdot x + b \cdot x^2 + c \cdot x^3 + d \cdot x^4 + e \cdot x^5 + f \cdot x^6\) |

ScalarExp | Provides an iterator over the powers of a |

VecPoly1 | Represents a degree-1 vector polynomial \(\mathbf{a} + \mathbf{b} \cdot x\). |

VecPoly3 | Represents a degree-3 vector polynomial \(\mathbf{a} + \mathbf{b} \cdot x + \mathbf{c} \cdot x^2 + \mathbf{d} \cdot x^3 \). |

## Functions

add_vec | |

exp_iter | Return an iterator of the powers of |

read32 | Given |

scalar_exp_vartime | Raises |

sum_of_powers | Takes the sum of all the powers of |

sum_of_powers_slow |