Lines Matching refs:m_p
12 : m_p(p), m_q(q), m_g(g)
18 XTR_FindPrimesAndGenerator(rng, m_p, m_q, m_g, pbits, qbits);
24 m_p.BERDecode(seq);
34 m_p.DEREncode(seq);
44 pass = pass && m_p > Integer::One() && m_p.IsOdd();
46 GFP2Element three = GFP2_ONB<ModularArithmetic>(m_p).ConvertIn(3);
47 pass = pass && !(m_g.c1.IsNegative() || m_g.c2.IsNegative() || m_g.c1 >= m_p || m_g.c2 >= m_p || m_g == three);
49 pass = pass && ((m_p.Squared()-m_p+1)%m_q).IsZero();
52 pass = pass && VerifyPrime(rng, m_p, level-2) && VerifyPrime(rng, m_q, level-2);
53 pass = pass && XTR_Exponentiate(m_g, (m_p.Squared()-m_p+1)/m_q, m_p) != three;
54 pass = pass && XTR_Exponentiate(m_g, m_q, m_p) == three;
86 GFP2Element y = XTR_Exponentiate(m_g, x, m_p);
95 GFP2_ONB<ModularArithmetic> gfp2(m_p);
97 if (w.c1.IsNegative() || w.c2.IsNegative() || w.c1 >= m_p || w.c2 >= m_p || w == three)
99 if (XTR_Exponentiate(w, m_q, m_p) != three)
103 GFP2Element z = XTR_Exponentiate(w, s, m_p);