Structs§
- sumcheck_
descriptor - Describe inputs to a sumcheck proof.
- sxt_
bls12_ 381_ g1 - encodes an affine element of the
bls12-381G1group - sxt_
bls12_ 381_ g1_ compressed - encodes an element of the
bls12-381G1group in compressed form - sxt_
bls12_ 381_ g1_ p2 - encodes an affine element of the
bls12-381G1group in projective form - sxt_
bn254_ g1 - encodes an affine element of the
bn254G1group - sxt_
bn254_ g1_ p2 - encodes an affine element of the
bn254G1group in projective form - sxt_
config - config struct to hold the chosen backend
- sxt_
curve25519_ scalar - encodes an element of the finite field for
curve25519 - sxt_
grumpkin - encodes an affine element of the
grumpkingroup - sxt_
grumpkin_ p2 - encodes an affine element of the
grumpkingroup in projective form - sxt_
multiexp_ handle - resources for multiexponentiations with pre-specified generators
- sxt_
ristretto255 - encodes an element of the
curve25519group - sxt_
ristretto255_ compressed - encodes an element of the
ristretto255group - sxt_
sequence_ descriptor - describes a sequence of values
- sxt_
transcript - encodes a strobe-based transcript
Constants§
- SXT_
CPU_ BACKEND - SXT_
CURVE_ BLS_ 381 - SXT_
CURVE_ BN_ 254 - SXT_
CURVE_ GRUMPKIN - SXT_
CURVE_ RISTRETT O255 - SXT_
FIELD_ GRUMPKIN - SXT_
FIELD_ SCALA R255 - SXT_
GPU_ BACKEND
Functions§
- sxt_
bls12_ ⚠381_ g1_ compute_ pedersen_ commitments_ with_ generators - Compute the Pedersen commitments for sequences of values using
bls12-381G1group elements. - sxt_
bn254_ ⚠g1_ uncompressed_ compute_ pedersen_ commitments_ with_ generators - Compute the Pedersen commitments for sequences of values using
bn254G1group elements. - sxt_
curve25519_ ⚠compute_ pedersen_ commitments - Compute the Pedersen commitments for sequences of values that internally generates
curve25519group elements. - sxt_
curve25519_ ⚠compute_ pedersen_ commitments_ with_ generators - Compute the Pedersen commitments for sequences of values using
curve25519group elements. - sxt_
curve25519_ ⚠get_ one_ commit - Gets the
n-th Ristretto point. - sxt_
curve25519_ ⚠prove_ inner_ product - Creates an inner product proof.
- sxt_
curve25519_ ⚠verify_ inner_ product - Verifies an inner product proof.
- sxt_
fixed_ ⚠multiexponentiation - Compute a multiexponentiation using a handle to pre-specified generators.
- sxt_
fixed_ ⚠packed_ multiexponentiation - Compute a multiexponentiation of scalars in packed format using a handle to pre-specified generators.
- sxt_
fixed_ ⚠vlen_ multiexponentiation - Compute a varying lengthing multiexponentiation of scalars in packed format using a handle to pre-specified generators.
- sxt_
grumpkin_ ⚠uncompressed_ compute_ pedersen_ commitments_ with_ generators - Compute the Pedersen commitments for sequences of values using
grumpkingroup elements. - sxt_
init ⚠ - Initializes the library.
- sxt_
multiexp_ ⚠handle_ free - Free resources for a multiexponentiation handle
- sxt_
multiexp_ ⚠handle_ new - Create a handle for computing multiexponentiations using a fixed sequence of generators.
- sxt_
multiexp_ ⚠handle_ new_ from_ file - Use a serialized file to create a handle for computing multiexponentiations using a fixed sequence of generators.
- sxt_
multiexp_ ⚠handle_ write_ to_ file - Write a multiexponentiation handle to file.
- sxt_
prove_ ⚠sumcheck - Construct a sumcheck proof for a polynomial
- sxt_
ristretto255_ ⚠get_ generators - Gets the pre-specified random generated elements used for the Pedersen commitments in the
sxt_curve25519_compute_pedersen_commitmentsfunction.