Lines Matching refs:params
54 virtual void SetUp() { params = new Epid20Params(); } in SetUp()
55 virtual void TearDown() { delete params; } in TearDown()
57 Epid20Params* params; member in __anon21d19a600111::PairingTest
94 NewPairingState(this->params->G1, this->params->G2, in TEST_F()
95 this->params->GT, &this->t_str, true, &ps)); in TEST_F()
111 NewPairingState(this->params->G1, this->params->G2, in TEST_F()
112 this->params->GT, &this->t_str, true, &ps)); in TEST_F()
120 NewPairingState(nullptr, this->params->G2, this->params->GT, in TEST_F()
124 NewPairingState(this->params->G1, nullptr, this->params->GT, in TEST_F()
127 EXPECT_EQ(kEpidBadArgErr, NewPairingState(this->params->G1, this->params->G2, in TEST_F()
131 NewPairingState(this->params->G1, this->params->G2, in TEST_F()
132 this->params->GT, nullptr, true, &ps)); in TEST_F()
135 NewPairingState(this->params->G1, this->params->G2, in TEST_F()
136 this->params->GT, &this->t_str, true, nullptr)); in TEST_F()
146 NewPairingState(&ga, this->params->G2, this->params->GT, in TEST_F()
158 NewPairingState(this->params->G1, &gb, this->params->GT, in TEST_F()
168 EXPECT_EQ(kEpidBadArgErr, NewPairingState(this->params->G1, this->params->G2, in TEST_F()
214 FfElementObj r(&this->params->GT); in TEST_F()
215 EcPointObj ga_elem(&this->params->G1, this->ga_elem_str); in TEST_F()
216 EcPointObj gb_elem(&this->params->G2, this->gb_elem_str); in TEST_F()
219 THROW_ON_EPIDERR(NewPairingState(this->params->G1, this->params->G2, in TEST_F()
220 this->params->GT, &this->t_str, neg, &ps)); in TEST_F()
224 THROW_ON_EPIDERR(WriteFfElement(this->params->GT, r, &r_str, sizeof(r_str))); in TEST_F()
231 FfElementObj r(&this->params->GT); in TEST_F()
232 EcPointObj ga_elem(&this->params->G1, this->ga_elem_str); in TEST_F()
233 EcPointObj gb_elem(&this->params->G2, this->gb_elem_str); in TEST_F()
236 THROW_ON_EPIDERR(NewPairingState(this->params->G1, this->params->G2, in TEST_F()
237 this->params->GT, &this->t_str, neg, &ps)); in TEST_F()
249 FfElementObj r(&this->params->GT); in TEST_F()
251 EcPointObj mismatched_ga_elem(&this->params->G2, this->gb_elem_str); in TEST_F()
252 EcPointObj gb_elem(&this->params->G2, this->gb_elem_str); in TEST_F()
254 THROW_ON_EPIDERR(NewPairingState(this->params->G1, this->params->G2, in TEST_F()
255 this->params->GT, &this->t_str, neg, &ps)); in TEST_F()
264 FfElementObj r(&this->params->GT); in TEST_F()
265 EcPointObj ga_elem(&this->params->G1, this->ga_elem_str); in TEST_F()
267 EcPointObj mismatched_gb_elem(&this->params->G1, this->ga_elem_str); in TEST_F()
269 THROW_ON_EPIDERR(NewPairingState(this->params->G1, this->params->G2, in TEST_F()
270 this->params->GT, &this->t_str, neg, &ps)); in TEST_F()