Home
last modified time | relevance | path

Searched refs:ipp_ff (Results 1 – 7 of 7) sorted by relevance

/external/epid-sdk/epid/common/math/src/
Dpairing.c155 if (!ga->ipp_ec || !gb->ipp_ec || !ff->ipp_ff) { in NewPairingState()
165 Fq6 = Ffq6->ipp_ff; in NewPairingState()
171 Fq2 = Ffq2->ipp_ff; in NewPairingState()
177 Fq = Ffq->ipp_ff; in NewPairingState()
361 !ps->ff->ipp_ff || !ps->Fq->ipp_ff || !ps->Fq2->ipp_ff || !ps->t || in Pairing()
451 sts = ippsGFpCpyElement(bx->ipp_ff_elem, x->ipp_ff_elem, ps->Fq2->ipp_ff); in Pairing()
453 sts = ippsGFpCpyElement(by->ipp_ff_elem, y->ipp_ff_elem, ps->Fq2->ipp_ff); in Pairing()
456 z->ipp_ff_elem, ps->Fq2->ipp_ff); in Pairing()
459 z2->ipp_ff_elem, ps->Fq2->ipp_ff); in Pairing()
463 d->ipp_ff_elem, ps->ff->ipp_ff); in Pairing()
[all …]
Dfinitefield.c151 finitefield_ptr->ipp_ff = ipp_finitefield_ctx; in NewFiniteField()
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()
260 finitefield_ptr->ipp_ff = ipp_finitefield_ctx; in NewFiniteFieldViaBinomalExtension()
294 !ground_field->ipp_ff) { in NewFiniteFieldViaPolynomialExtension()
300 sts = ippsGFpxGetSize(ground_field->ipp_ff, degree, &state_size_in_bytes); in NewFiniteFieldViaPolynomialExtension()
343 sts = ippsGFpxInit(ground_field->ipp_ff, degree, in NewFiniteFieldViaPolynomialExtension()
379 finitefield_ptr->ipp_ff = ipp_finitefield_ctx; in NewFiniteFieldViaPolynomialExtension()
403 SAFE_FREE((*ff)->ipp_ff); in DeleteFiniteField()
[all …]
Dtatepairing.c110 if (!ga->ff || !ga->ipp_ec || !gb->ff || !gb->ipp_ec || !ff->ipp_ff) { in NewEpid11PairingState()
140 Fq3 = pairing_state_ctx->Fq3->ipp_ff; in NewEpid11PairingState()
147 Fq = pairing_state_ctx->Fq->ipp_ff; in NewEpid11PairingState()
337 if (!ps->Fq->ipp_ff || !ps->Fq3->ipp_ff) { in Epid11Pairing()
542 ps->Fq->ipp_ff); // X = X2 in Epid11Pairing()
545 ps->Fq->ipp_ff); // Y = Y2 in Epid11Pairing()
548 ps->Fq->ipp_ff); // Z = Z2 in Epid11Pairing()
603 ps->Fq->ipp_ff); // ty = Z2 in Epid11Pairing()
626 ps->Fq->ipp_ff); // X = X2 in Epid11Pairing()
629 ps->Fq->ipp_ff); // Y = Y2 in Epid11Pairing()
[all …]
Dprintutils.c151 if (!ff_element->ipp_ff_elem || !ff->ipp_ff || in PrintFfElement()
163 ff->ipp_ff); in PrintFfElement()
248 ipp_half_strlen, fp->ipp_ff); in PrintEcPoint()
259 ipp_half_strlen, fp->ipp_ff); in PrintEcPoint()
Dfinitefield-internal.h32 IppsGFpState* ipp_ff; member
Decgroup.c83 ipp_status = ippsGFpECGetSize(ff->ipp_ff, &stateSize); in NewEcGroup()
121 ippsGFpECInit(ff->ipp_ff, a->ipp_ff_elem, b->ipp_ff_elem, state); in NewEcGroup()
467 ipp_half_strlen, fp->ipp_ff); in WriteEcPoint()
480 ipp_half_strlen, fp->ipp_ff); in WriteEcPoint()
943 IppsGFpState* ipp_ff = NULL; in Epid11EcHash() local
958 sts = ippsGFpECGet(&ipp_ff, 0, 0, g->ipp_ec); in Epid11EcHash()
960 sts = ippsGFpECGetSubgroup(&ipp_ff, 0, 0, 0, h_bn->ipp_bn, g->ipp_ec); in Epid11EcHash()
/external/epid-sdk/epid/common/math/unittests/
Dpairing-test.cc167 ff.ipp_ff = nullptr; in TEST_F()