Home
last modified time | relevance | path

Searched refs:ipp_ff_elem (Results 1 – 6 of 6) sorted by relevance

/external/epid-sdk/epid/common/math/src/
Dpairing.c188 sts = ippsGFpNeg(xi->ipp_ff_elem, xi->ipp_ff_elem, Fq2); in NewPairingState()
245 sts = ippsGFpExp(xi->ipp_ff_elem, e->ipp_bn, in NewPairingState()
246 pairing_state_ctx->g[0][0]->ipp_ff_elem, Fq2, in NewPairingState()
253 sts = ippsGFpMul(pairing_state_ctx->g[0][i - 1]->ipp_ff_elem, in NewPairingState()
254 pairing_state_ctx->g[0][0]->ipp_ff_elem, in NewPairingState()
255 pairing_state_ctx->g[0][i]->ipp_ff_elem, Fq2); in NewPairingState()
258 sts = ippsGFpConj(pairing_state_ctx->g[0][i]->ipp_ff_elem, in NewPairingState()
259 pairing_state_ctx->g[1][i]->ipp_ff_elem, Fq2); in NewPairingState()
261 sts = ippsGFpMul(pairing_state_ctx->g[0][i]->ipp_ff_elem, in NewPairingState()
262 pairing_state_ctx->g[1][i]->ipp_ff_elem, in NewPairingState()
[all …]
Dfinitefield.c180 !ground_element->ipp_ff_elem) { in NewFiniteFieldViaBinomalExtension()
205 ground_field->ipp_ff, degree, ground_element->ipp_ff_elem, in NewFiniteFieldViaBinomalExtension()
340 ff_elems_state[i] = ff_elems[i]->ipp_ff_elem; in NewFiniteFieldViaPolynomialExtension()
412 IppsGFpElement* ipp_ff_elem = NULL; in NewFfElement() local
433 ipp_ff_elem = (IppsGFpElement*)SAFE_ALLOC(ctxsize); in NewFfElement()
434 if (!ipp_ff_elem) { in NewFfElement()
440 sts = ippsGFpElementInit(&zero, 1, ipp_ff_elem, ff->ipp_ff); in NewFfElement()
452 ff_elem->ipp_ff_elem = ipp_ff_elem; in NewFfElement()
461 SAFE_FREE(ipp_ff_elem); in NewFfElement()
470 SAFE_FREE((*ff_elem)->ipp_ff_elem); in DeleteFfElement()
[all …]
Decgroup.c121 ippsGFpECInit(ff->ipp_ff, a->ipp_ff_elem, b->ipp_ff_elem, state); in NewEcGroup()
126 ipp_status = ippsGFpECSetSubgroup(x->ipp_ff_elem, y->ipp_ff_elem, in NewEcGroup()
351 sts = ippsGFpECSetPoint(fp_x->ipp_ff_elem, fp_y->ipp_ff_elem, p->ipp_ec_pt, in eccontains()
450 sts = ippsGFpECGetPoint(p->ipp_ec_pt, fp_x->ipp_ff_elem, fp_y->ipp_ff_elem, in WriteEcPoint()
466 sts = ippsGFpGetElementOctString(fp_x->ipp_ff_elem, byte_str, in WriteEcPoint()
478 sts = ippsGFpGetElementOctString(fp_y->ipp_ff_elem, in WriteEcPoint()
977 sts = ippsGFpECGet(0, a->ipp_ff_elem, b->ipp_ff_elem, g->ipp_ec); in Epid11EcHash()
1048 sts = ippsGFpECSetPoint(rx->ipp_ff_elem, t2->ipp_ff_elem, r->ipp_ec_pt, in Epid11EcHash()
1132 if (!g->ff || !g->ipp_ec || !x->ipp_ff_elem || !r->ipp_ec_pt) { in EcMakePoint()
1140 sts = ippsGFpECMakePoint(x->ipp_ff_elem, r->ipp_ec_pt, g->ipp_ec); in EcMakePoint()
Dprintutils.c151 if (!ff_element->ipp_ff_elem || !ff->ipp_ff || in PrintFfElement()
161 sts = ippsGFpGetElementOctString(ff_element->ipp_ff_elem, in PrintFfElement()
235 sts = ippsGFpECGetPoint(ec_point->ipp_ec_pt, fp_x->ipp_ff_elem, in PrintEcPoint()
236 fp_y->ipp_ff_elem, g->ipp_ec); in PrintEcPoint()
247 ippsGFpGetElementOctString(fp_x->ipp_ff_elem, (IppOctStr)&ec_point_str, in PrintEcPoint()
257 sts = ippsGFpGetElementOctString(fp_y->ipp_ff_elem, in PrintEcPoint()
Dtatepairing.c196 ippsGFpECGet(NULL, pairing_state_ctx->a->ipp_ff_elem, NULL, ga->ipp_ec); in NewEpid11PairingState()
541 sts = ippsGFpCpyElement(X2->ipp_ff_elem, X->ipp_ff_elem, in Epid11Pairing()
544 sts = ippsGFpCpyElement(Y2->ipp_ff_elem, Y->ipp_ff_elem, in Epid11Pairing()
547 sts = ippsGFpCpyElement(Z2->ipp_ff_elem, Z->ipp_ff_elem, in Epid11Pairing()
602 sts = ippsGFpCpyElement(Z2->ipp_ff_elem, ty->ipp_ff_elem, in Epid11Pairing()
625 sts = ippsGFpCpyElement(X2->ipp_ff_elem, X->ipp_ff_elem, in Epid11Pairing()
628 sts = ippsGFpCpyElement(Y2->ipp_ff_elem, Y->ipp_ff_elem, in Epid11Pairing()
631 sts = ippsGFpCpyElement(Z2->ipp_ff_elem, Z->ipp_ff_elem, in Epid11Pairing()
Dfinitefield-internal.h53 IppsGFpElement* ipp_ff_elem; member