BN.Pairing (bn v0.2.2)

Link to this section Summary

Link to this section Functions

Link to this function

linefunc(arg1, arg2, arg3)

Specs

linefunc(
  {BN.FQP.t(), BN.FQP.t()},
  {BN.FQP.t(), BN.FQP.t()},
  {BN.FQP.t(), BN.FQP.t()}
) ::
  BN.FQP.t() | no_return()
Link to this function

miller_loop(point1, point2)

Specs

miller_loop({BN.FQP.t(), BN.FQP.t()}, {BN.FQP.t(), BN.FQP.t()}) ::
  BN.FQP.t() | no_return()
Link to this function

pairing(point1, point2)

Specs

pairing({BN.FQP.t(), BN.FQP.t()}, {BN.FQ.t(), BN.FQ.t()}) ::
  BN.FQP.t() | no_return()
Link to this function

point_to_fq12(arg)

Specs

point_to_fq12({BN.FQ.t(), BN.FQ.t()}) :: {BN.FQP.t(), BN.FQP.t()} | no_return()

Specs

twist({BN.FQP.t(), BN.FQP.t()}) :: {BN.FQP.t(), BN.FQP.t()} | no_return()