Module varbasemul

Module varbasemul 

Source
Expand description

This module implements short Weierstrass curve variable base scalar multiplication custom Plonk polynomials.

โ“˜
Acc := [2]T
for i = n-1 ... 0:
  Q := (r_i == 1) ? T : -T
  Acc := Acc + (Q + Acc)

See https://github.com/zcash/zcash/issues/3924 and 3.1 of https://arxiv.org/pdf/math/0208038.pdf for details.

Structsยง

Layout
Point ๐Ÿ”’
VarbaseMul
Implementation of the VarbaseMul gate
VarbaseMulResult

Traitsยง

FromWitness ๐Ÿ”’

Functionsยง

set ๐Ÿ”’
single_bit ๐Ÿ”’
single_bit_witness ๐Ÿ”’
v ๐Ÿ”’
witness
Apply the witness value.

Type Aliasesยง

Variable ๐Ÿ”’