Lines Matching refs:params
44 virtual void SetUp() { params = new Epid11ParamsObj(); } in SetUp()
45 virtual void TearDown() { delete params; } in TearDown()
49 Epid11ParamsObj* params; member in __anonb6fc3a570111::Epid11PairingTest
84 THROW_ON_EPIDERR(NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
85 this->params->GT, &ps)); in TEST_F()
100 NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
101 this->params->GT, &ps)); in TEST_F()
108 EXPECT_EQ(kEpidBadArgErr, NewEpid11PairingState(nullptr, this->params->G2, in TEST_F()
109 this->params->GT, &ps)); in TEST_F()
111 EXPECT_EQ(kEpidBadArgErr, NewEpid11PairingState(this->params->G1, nullptr, in TEST_F()
112 this->params->GT, &ps)); in TEST_F()
116 NewEpid11PairingState(this->params->G1, this->params->G2, nullptr, &ps)); in TEST_F()
119 NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
120 this->params->GT, nullptr)); in TEST_F()
127 NewEpid11PairingState(this->params->G2, this->params->G2, in TEST_F()
128 this->params->GT, &ps)); in TEST_F()
136 NewEpid11PairingState(this->params->G1, this->params->G1, in TEST_F()
137 this->params->GT, &ps)); in TEST_F()
145 EXPECT_EQ(kEpidBadArgErr, NewEpid11PairingState(this->params->G1, in TEST_F()
146 this->params->G2, GFp, &ps)); in TEST_F()
172 FfElementObj r(&this->params->GT); in TEST_F()
173 EcPointObj ga_elem(&this->params->G1, this->kGaElemStr); in TEST_F()
174 EcPointObj gb_elem(&this->params->G2, this->kGbElemStr); in TEST_F()
177 THROW_ON_EPIDERR(NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
178 this->params->GT, &ps)); in TEST_F()
182 THROW_ON_EPIDERR(WriteFfElement(this->params->GT, r, &r_str, sizeof(r_str))); in TEST_F()
192 FfElementObj r(&this->params->GT); in TEST_F()
193 EcPointObj ga_elem(&this->params->G1); in TEST_F()
194 EcPointObj gb_elem(&this->params->G2, this->kGbElemStr); in TEST_F()
197 THROW_ON_EPIDERR(NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
198 this->params->GT, &ps)); in TEST_F()
202 THROW_ON_EPIDERR(WriteFfElement(this->params->GT, r, &r_str, sizeof(r_str))); in TEST_F()
207 FfElementObj r(&this->params->GT); in TEST_F()
209 EcPointObj ga_elem(&this->params->G1, this->kGaElemStr); in TEST_F()
210 EcPointObj gb_elem(&this->params->G2, this->kGbElemStr); in TEST_F()
213 THROW_ON_EPIDERR(NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
214 this->params->GT, &ps)); in TEST_F()
220 FfElementObj r(&this->params->GT); in TEST_F()
222 EcPointObj ga_elem(&this->params->G3); in TEST_F()
223 EcPointObj gb_elem(&this->params->G2, this->kGbElemStr); in TEST_F()
226 THROW_ON_EPIDERR(NewEpid11PairingState(this->params->G1, this->params->G2, in TEST_F()
227 this->params->GT, &ps)); in TEST_F()