Home
last modified time | relevance | path

Searched refs:mulF (Results 1 – 15 of 15) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpgfpecpointstuff.c73 mod_mul mulF = GFP_METHOD(pGFE)->mul; in gfec_IsPointOnCurve() local
86 mulF(pT, pX, pT, pGFE); in gfec_IsPointOnCurve()
90 mulF(pT, pX, ECP_A(pEC), pGFE); /* T = A*X */ in gfec_IsPointOnCurve()
100 mulF(pZ6, pZ6, pZ4, pGFE); /* Z^6 */ in gfec_IsPointOnCurve()
102 mulF(pZ4, pZ4, pX, pGFE); /* X*(Z^4) */ in gfec_IsPointOnCurve()
103 mulF(pZ4, pZ4, ECP_A(pEC), pGFE); /* A*X*(Z^4) */ in gfec_IsPointOnCurve()
104 mulF(pZ6, pZ6, ECP_B(pEC), pGFE); /* B*(Z^4) */ in gfec_IsPointOnCurve()
Dpcpgfpec_comppont.c78 mod_mul mulF = GFP_METHOD(pGFE)->mul; in gfec_ComparePoint() local
94 mulF(pPtmp, ECP_POINT_X(pP), pQz, pGFE); in gfec_ComparePoint()
100 mulF(pQtmp, ECP_POINT_X(pQ), pPz, pGFE); in gfec_ComparePoint()
110 mulF(pQz, ECP_POINT_Z(pQ), pQz, pGFE); in gfec_ComparePoint()
111 mulF(pPtmp, pQz, ECP_POINT_Y(pP), pGFE); in gfec_ComparePoint()
116 mulF(pPz, ECP_POINT_Z(pP), pPz, pGFE); in gfec_ComparePoint()
117 mulF(pQtmp, pPz, ECP_POINT_Y(pQ), pGFE); in gfec_ComparePoint()
Dpcpgfpxmethod_binom3.c61 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_p3_binom() local
87 mulF(u0, u0, t0, pGroundGFE); /* u0 = (a[0]+a[1])*(b[0]+b[1]) */ in cpGFpxMul_p3_binom()
88 mulF(t0, pA0, pB0, pGroundGFE); /* t0 = a[0]*b[0] */ in cpGFpxMul_p3_binom()
92 mulF(u1, u1, t1, pGroundGFE); /* u1 = (a[1]+a[2])*(b[1]+b[2]) */ in cpGFpxMul_p3_binom()
93 mulF(t1, pA1, pB1, pGroundGFE); /* t1 = a[1]*b[1] */ in cpGFpxMul_p3_binom()
97 mulF(u2, u2, t2, pGroundGFE); /* u2 = (a[2]+a[0])*(b[2]+b[0]) */ in cpGFpxMul_p3_binom()
98 mulF(t2, pA2, pB2, pGroundGFE); /* t2 = a[2]*b[2] */ in cpGFpxMul_p3_binom()
127 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxSqr_p3_binom() local
152 mulF(s1, pA0, pA1, pGroundGFE); in cpGFpxSqr_p3_binom()
153 mulF(s3, pA1, pA2, pGroundGFE); in cpGFpxSqr_p3_binom()
Dpcpgfpxmethod_binom3_epid2.c88 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_p3_binom_epid2() local
114 mulF(u0, u0, t0, pGroundGFE); /* u0 = (a[0]+a[1])*(b[0]+b[1]) */ in cpGFpxMul_p3_binom_epid2()
115 mulF(t0, pA0, pB0, pGroundGFE); /* t0 = a[0]*b[0] */ in cpGFpxMul_p3_binom_epid2()
119 mulF(u1, u1, t1, pGroundGFE); /* u1 = (a[1]+a[2])*(b[1]+b[2]) */ in cpGFpxMul_p3_binom_epid2()
120 mulF(t1, pA1, pB1, pGroundGFE); /* t1 = a[1]*b[1] */ in cpGFpxMul_p3_binom_epid2()
124 mulF(u2, u2, t2, pGroundGFE); /* u2 = (a[2]+a[0])*(b[2]+b[0]) */ in cpGFpxMul_p3_binom_epid2()
125 mulF(t2, pA2, pB2, pGroundGFE); /* t2 = a[2]*b[2] */ in cpGFpxMul_p3_binom_epid2()
173 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxSqr_p3_binom_epid2() local
197 mulF(s1, pA0, pA1, pGroundGFE); in cpGFpxSqr_p3_binom_epid2()
198 mulF(s3, pA1, pA2, pGroundGFE); in cpGFpxSqr_p3_binom_epid2()
Dpcpgfpxmethod_binom_epid2.c124 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_p2_binom_epid2() local
145 mulF(t0, pA0, pB0, pGroundGFE); /* t0 = a[0]*b[0] */ in cpGFpxMul_p2_binom_epid2()
146 mulF(t1, pA1, pB1, pGroundGFE); /* t1 = a[1]*b[1] */ in cpGFpxMul_p2_binom_epid2()
150 mulF(pR1, t2, t3, pGroundGFE); /* r[1] = (a[0]+a[1]) * (b[0]+b[1]) */ in cpGFpxMul_p2_binom_epid2()
193 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxSqr_p2_binom_epid2() local
211 mulF(u0, pA0, pA1, pGroundGFE); /* u0 = a[0]*a[1] */ in cpGFpxSqr_p2_binom_epid2()
221 mulF(pR0, t0, t1, pGroundGFE); in cpGFpxSqr_p2_binom_epid2()
229 mulF(t0, t0, t1, pGroundGFE); in cpGFpxSqr_p2_binom_epid2()
Dpcpgfpxmethod_binom2.c61 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_p2_binom() local
89 mulF(t0, pA0, pB0, pGroundGFE); /* t0 = a[0]*b[0] */ in cpGFpxMul_p2_binom()
96 mulF(t1, pA1, pB1, pGroundGFE); /* t1 = a[1]*b[1] */ in cpGFpxMul_p2_binom()
105 mulF(pR1, t2, t3, pGroundGFE); /* r[1] = (a[0]+a[1]) * (b[0]+b[1]) */ in cpGFpxMul_p2_binom()
128 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxSqr_p2_binom() local
153 mulF(u0, pA0, pA1, pGroundGFE); /* u0 = a[0]*a[1] */ in cpGFpxSqr_p2_binom()
Dpcpgfpec_getpoint.c83 mod_mul mulF = GFP_METHOD(pGFE)->mul; in gfec_GetPoint() local
94 mulF(pU, ECP_POINT_X(pPoint), pT, pGFE); in gfec_GetPoint()
98 mulF(pT, pZinv, pT, pGFE); in gfec_GetPoint()
99 mulF(pU, ECP_POINT_Y(pPoint), pT, pGFE); in gfec_GetPoint()
Dpcpgfpec_makepoint.c63 mod_mul mulF = GFP_METHOD(pGFE)->mul; in gfec_MakePoint() local
76 mulF(pY, pY, pX, pGFE); in gfec_MakePoint()
78 mulF(pZ, ECP_A(pEC), pX, pGFE); in gfec_MakePoint()
Dpcpgfpx_multiexp.c96 mod_mul mulF = GFP_METHOD(pGFEx)->mul; /* mul method */ in cpPrecomputeMultiExp() local
117 mulF(pT, pT, ppA[k], pGFEx); in cpPrecomputeMultiExp()
155 mod_mul mulF = GFP_METHOD(pGFEx)->mul; /* mul and sqr methods and parameter */ in cpGFpxMultiExp() local
192 mulF(pR, pR, pT, pGFEx); in cpGFpxMultiExp()
Dpcpgfpx_inv.c94 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in gfpxPolyDiv() local
109 mulF(GFPX_IDX_ELEMENT(pQ, degA-degB-i, termLen), in gfpxPolyDiv()
117 mulF(pProduct, in gfpxPolyDiv()
144 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in gfpxGeneratorDiv() local
164 mulF(pTmp, pInvB, GFPX_IDX_ELEMENT(pB, i, termLen), pGroundGFE); in gfpxGeneratorDiv()
Dpcpgfpx_mul_gfe.c58 mod_mul mulF = MOD_METHOD(pGroundGFE)->mul; in cpGFpxMul_GFE() local
66 mulF(pTmp, pA, pGroundB, pGroundGFE); in cpGFpxMul_GFE()
Dpcpgfpxmethod_binom_mulc.h56 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_G0() local
71 mulF(pR, pA, pGFpolynomial, pGroundGFE); in cpGFpxMul_G0()
Dpcpgfpx_exp.c97 mod_mul mulF = GFP_METHOD(pGFEx)->mul; /* mul and sqr methods */ in cpGFpxExp() local
139 mulF(pTmp, pTmp, pA, pGFEx); in cpGFpxExp()
204 mulF(pR, pR, pTmp, pGFEx); in cpGFpxExp()
Dpcpgfpmulexp.c129 mod_mul mulF = GFP_METHOD(pGFE)->mul; variable
137 mulF(GFPE_DATA(pR), GFPE_DATA(pR), pTmpR, pGFE);
Dpcpgfpecverify.c88 mod_mul mulF = GFP_METHOD(pGFE)->mul; variable
105 mulF(pT, ECP_A(pEC), pT, pGFE);