Searched refs:ground_field (Results 1 – 5 of 5) sorted by relevance
/external/epid-sdk/epid/common/math/unittests/ |
D | finitefield-test.cc | 136 FiniteFieldObj ground_field(q); in TEST() local 137 FfElementObj ground_element(&ground_field, beta); in TEST() 143 NewFiniteFieldViaBinomalExtension(ground_field, nullptr, 2, in TEST() 147 ground_field, ground_element, 2, nullptr)); in TEST() 152 FiniteFieldObj ground_field(q); in TEST() local 153 FfElementObj ground_element(&ground_field, beta); in TEST() 155 NewFiniteFieldViaBinomalExtension(ground_field, ground_element, 1, in TEST() 159 NewFiniteFieldViaBinomalExtension(ground_field, ground_element, 0, in TEST() 163 NewFiniteFieldViaBinomalExtension(ground_field, ground_element, -1, in TEST() 167 NewFiniteFieldViaBinomalExtension(ground_field, ground_element, -99, in TEST() [all …]
|
/external/epid-sdk/epid/common-testhelper/ |
D | finite_field_wrapper-testhelper.cc | 139 FiniteFieldObj::FiniteFieldObj(FiniteFieldObj const& ground_field, in FiniteFieldObj() argument 143 state_->SetInnerState(ground_field); in FiniteFieldObj() 144 NewFiniteFieldViaBinomalExtension(ground_field, ground_element, degree, in FiniteFieldObj() 147 state_->size_ = ground_field.GetElementMaxSize() * degree; in FiniteFieldObj() 150 FiniteFieldObj::FiniteFieldObj(FiniteFieldObj const& ground_field, in FiniteFieldObj() argument 154 state_->SetInnerState(ground_field); in FiniteFieldObj() 155 NewFiniteFieldViaPolynomialExtension(ground_field, irr_polynomial, degree, in FiniteFieldObj() 158 state_->size_ = ground_field.GetElementMaxSize() * degree; in FiniteFieldObj()
|
D | finite_field_wrapper-testhelper.h | 48 FiniteFieldObj(FiniteFieldObj const& ground_field, 51 FiniteFieldObj(FiniteFieldObj const& ground_field,
|
/external/epid-sdk/epid/common/math/src/ |
D | finitefield.c | 164 EpidStatus NewFiniteFieldViaBinomalExtension(FiniteField const* ground_field, in NewFiniteFieldViaBinomalExtension() argument 176 if (!ground_field || !ground_element || !ff) { in NewFiniteFieldViaBinomalExtension() 179 } else if (degree < 2 || !ground_field->ipp_ff || in NewFiniteFieldViaBinomalExtension() 186 sts = ippsGFpxGetSize(ground_field->ipp_ff, degree, &state_size_in_bytes); in NewFiniteFieldViaBinomalExtension() 205 ground_field->ipp_ff, degree, ground_element->ipp_ff_elem, in NewFiniteFieldViaBinomalExtension() 207 ? (3 == ground_field->basic_degree ? ippsGFpxMethod_binom2() in NewFiniteFieldViaBinomalExtension() 225 ground_field->element_strlen_required * degree; in NewFiniteFieldViaBinomalExtension() 227 (IppOctStr)SAFE_ALLOC(ground_field->element_len * sizeof(Ipp32u)); in NewFiniteFieldViaBinomalExtension() 232 status = NewBigNum(ground_field->element_len * sizeof(Ipp32u), &modulus_0); in NewFiniteFieldViaBinomalExtension() 241 WriteFfElement((FiniteField*)ground_field, ground_element, ff_elem_str, in NewFiniteFieldViaBinomalExtension() [all …]
|
/external/epid-sdk/epid/common/math/ |
D | finitefield.h | 94 EpidStatus NewFiniteFieldViaBinomalExtension(FiniteField const* ground_field, 123 EpidStatus NewFiniteFieldViaPolynomialExtension(FiniteField const* ground_field,
|