Definition of pairing math. More...
Functions | |
void | PairingInit (PairingState *state) |
Initializes pairing environment. More... | |
void | PairingCompute (Fq12Elem *d, EccPointFq const *P, EccPointFq2 const *Q, PairingState const *state) |
Computes a pairing according to the Optimal Ate pairing computation. More... | |
Definition of pairing math.
Tiny portable implementations of standard library functions.
void PairingCompute | ( | Fq12Elem * | d, |
EccPointFq const * | P, | ||
EccPointFq2 const * | Q, | ||
PairingState const * | state | ||
) |
Computes a pairing according to the Optimal Ate pairing computation.
[out] | d | target, an element in GT. |
[in] | P | an element in G1. |
[in] | Q | an element in G2. |
[in,out] | state | pairing state information. |
void PairingInit | ( | PairingState * | state | ) |
Initializes pairing environment.
[out] | state | pairing state information. |