• Home
  • Raw
  • Download

Lines Matching refs:G1

43   EcPointObj k(&params.G1), l(&params.G1), e(&params.G1);  in TEST_F()
44 EcPointObj p1(&params.G1, this->kP1Str); in TEST_F()
58 EcPointObj p1_exp_r(&params.G1), p2_exp_r(&params.G1); in TEST_F()
60 EcPointObj p2(&params.G1, this->kP2Sha256Str); in TEST_F()
68 THROW_ON_EPIDERR(EcExp(params.G1, p1, (BigNumStr const*)&r_str, p1_exp_r)); in TEST_F()
70 WriteEcPoint(params.G1, p1_exp_r, &p1_exp_r_str, sizeof(p1_exp_r_str))); in TEST_F()
71 THROW_ON_EPIDERR(EcExp(params.G1, p2, (BigNumStr const*)&r_str, p2_exp_r)); in TEST_F()
73 WriteEcPoint(params.G1, p2_exp_r, &p2_exp_r_str, sizeof(p2_exp_r_str))); in TEST_F()
76 THROW_ON_EPIDERR(WriteEcPoint(params.G1, k, &k_str, sizeof(k_str))); in TEST_F()
77 THROW_ON_EPIDERR(WriteEcPoint(params.G1, l, &l_str, sizeof(l_str))); in TEST_F()
78 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()
87 EcPointObj k(&params.G1), l(&params.G1), e(&params.G1); in TEST_F()
88 EcPointObj p1(&params.G1, this->kP1Str); in TEST_F()
103 EcPointObj p1_exp_r(&params.G1), p2_exp_r(&params.G1); in TEST_F()
105 EcPointObj p2(&params.G1, this->kP2Sha384Str); in TEST_F()
113 THROW_ON_EPIDERR(EcExp(params.G1, p1, (BigNumStr const*)&r_str, p1_exp_r)); in TEST_F()
115 WriteEcPoint(params.G1, p1_exp_r, &p1_exp_r_str, sizeof(p1_exp_r_str))); in TEST_F()
116 THROW_ON_EPIDERR(EcExp(params.G1, p2, (BigNumStr const*)&r_str, p2_exp_r)); in TEST_F()
118 WriteEcPoint(params.G1, p2_exp_r, &p2_exp_r_str, sizeof(p2_exp_r_str))); in TEST_F()
121 THROW_ON_EPIDERR(WriteEcPoint(params.G1, k, &k_str, sizeof(k_str))); in TEST_F()
122 THROW_ON_EPIDERR(WriteEcPoint(params.G1, l, &l_str, sizeof(l_str))); in TEST_F()
123 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()
132 EcPointObj k(&params.G1), l(&params.G1), e(&params.G1); in TEST_F()
133 EcPointObj p1(&params.G1, this->kP1Str); in TEST_F()
148 EcPointObj p1_exp_r(&params.G1), p2_exp_r(&params.G1); in TEST_F()
150 EcPointObj p2(&params.G1, this->kP2Sha512Str); in TEST_F()
158 THROW_ON_EPIDERR(EcExp(params.G1, p1, (BigNumStr const*)&r_str, p1_exp_r)); in TEST_F()
160 WriteEcPoint(params.G1, p1_exp_r, &p1_exp_r_str, sizeof(p1_exp_r_str))); in TEST_F()
161 THROW_ON_EPIDERR(EcExp(params.G1, p2, (BigNumStr const*)&r_str, p2_exp_r)); in TEST_F()
163 WriteEcPoint(params.G1, p2_exp_r, &p2_exp_r_str, sizeof(p2_exp_r_str))); in TEST_F()
166 THROW_ON_EPIDERR(WriteEcPoint(params.G1, k, &k_str, sizeof(k_str))); in TEST_F()
167 THROW_ON_EPIDERR(WriteEcPoint(params.G1, l, &l_str, sizeof(l_str))); in TEST_F()
168 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()
177 EcPointObj k(&params.G1), l(&params.G1), e(&params.G1); in TEST_F()
178 EcPointObj p1(&params.G1, this->kP1Str); in TEST_F()
193 EcPointObj p1_exp_r(&params.G1), p2_exp_r(&params.G1); in TEST_F()
195 EcPointObj p2(&params.G1, this->kP2Sha512256Str); in TEST_F()
203 THROW_ON_EPIDERR(EcExp(params.G1, p1, (BigNumStr const*)&r_str, p1_exp_r)); in TEST_F()
205 WriteEcPoint(params.G1, p1_exp_r, &p1_exp_r_str, sizeof(p1_exp_r_str))); in TEST_F()
206 THROW_ON_EPIDERR(EcExp(params.G1, p2, (BigNumStr const*)&r_str, p2_exp_r)); in TEST_F()
208 WriteEcPoint(params.G1, p2_exp_r, &p2_exp_r_str, sizeof(p2_exp_r_str))); in TEST_F()
211 THROW_ON_EPIDERR(WriteEcPoint(params.G1, k, &k_str, sizeof(k_str))); in TEST_F()
212 THROW_ON_EPIDERR(WriteEcPoint(params.G1, l, &l_str, sizeof(l_str))); in TEST_F()
213 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()
222 EcPointObj k(&params.G1), l(&params.G1), e(&params.G1); in TEST_F()
223 EcPointObj p1(&params.G1, this->kP1Str); in TEST_F()
237 EcPointObj p1_exp_r(&params.G1); in TEST_F()
246 THROW_ON_EPIDERR(EcExp(params.G1, p1, (BigNumStr const*)&r_str, p1_exp_r)); in TEST_F()
248 WriteEcPoint(params.G1, p1_exp_r, &p1_exp_r_str, sizeof(p1_exp_r_str))); in TEST_F()
251 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()
258 EcPointObj e(&params.G1); in TEST_F()
259 EcPointObj p1(&params.G1, this->kP1Str); in TEST_F()
273 EcPointObj g1(&params.G1, this->kg1Str); in TEST_F()
274 EcPointObj g1_exp_r(&params.G1); in TEST_F()
283 THROW_ON_EPIDERR(EcExp(params.G1, g1, (BigNumStr const*)&r_str, g1_exp_r)); in TEST_F()
285 WriteEcPoint(params.G1, g1_exp_r, &g1_exp_r_str, sizeof(g1_exp_r_str))); in TEST_F()
288 THROW_ON_EPIDERR(WriteEcPoint(params.G1, e, &e_str, sizeof(e_str))); in TEST_F()