Expand description

Circom-compatible deserialization of points

Structs§

  • A struct that stores a Bn254 Fq field element as 32 bytes.
  • A struct that stores a Bn254 Fr field element as 32 bytes.

Type Aliases§

  • A G1 point in BN254 serialized as a vector of three strings which is the canonical decimal representation of the projective coordinates in Fq.
  • A G2 point in BN254 serialized as a vector of three vectors each being a vector of two strings which are the canonical decimal representation of the coefficients of the projective coordinates in Fq2.