fix comment of g

dev
MITSUNARI Shigeo 8 years ago
parent 251388fffc
commit 744feda4e5
  1. 6
      include/mcl/bn.hpp

@ -264,7 +264,11 @@ struct ParamT {
uint32_t pmod4; uint32_t pmod4;
Fp Z; Fp Z;
static const size_t gN = 5; static const size_t gN = 5;
Fp2 g[gN]; // g[0] = xi^((p - 1) / 6), g[i] = g[i]^(i + 1) /*
g = xi^((p - 1) / 6)
g[] = { g^2, g^4, g^1, g^3, g^5 }
*/
Fp2 g[gN];
Fp2 g2[gN]; Fp2 g2[gN];
Fp2 g3[gN]; Fp2 g3[gN];
int b; int b;

Loading…
Cancel
Save