Home
last modified time | relevance | path

Searched refs:pGroundGFE (Results 1 – 13 of 13) sorted by relevance

/external/epid-sdk/ext/ipp/sources/ippcp/
Dpcpgfpxmethod_binom3_epid2.c85 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxMul_p3_binom_epid2() local
86 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxMul_p3_binom_epid2()
88 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_p3_binom_epid2()
89 mod_add addF = GFP_METHOD(pGroundGFE)->add; in cpGFpxMul_p3_binom_epid2()
90 mod_sub subF = GFP_METHOD(pGroundGFE)->sub; in cpGFpxMul_p3_binom_epid2()
104 BNU_CHUNK_T* t0 = cpGFpGetPool(6, pGroundGFE); in cpGFpxMul_p3_binom_epid2()
112 addF(u0 ,pA0, pA1, pGroundGFE); /* u0 = a[0]+a[1] */ in cpGFpxMul_p3_binom_epid2()
113 addF(t0 ,pB0, pB1, pGroundGFE); /* t0 = b[0]+b[1] */ in cpGFpxMul_p3_binom_epid2()
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()
[all …]
Dpcpgfpxmethod_binom3.c58 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxMul_p3_binom() local
59 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxMul_p3_binom()
61 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_p3_binom()
62 mod_add addF = GFP_METHOD(pGroundGFE)->add; in cpGFpxMul_p3_binom()
63 mod_sub subF = GFP_METHOD(pGroundGFE)->sub; in cpGFpxMul_p3_binom()
77 BNU_CHUNK_T* t0 = cpGFpGetPool(6, pGroundGFE); in cpGFpxMul_p3_binom()
85 addF(u0 ,pA0, pA1, pGroundGFE); /* u0 = a[0]+a[1] */ in cpGFpxMul_p3_binom()
86 addF(t0 ,pB0, pB1, pGroundGFE); /* t0 = b[0]+b[1] */ in cpGFpxMul_p3_binom()
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()
[all …]
Dpcpgfpxmethod_binom2.c58 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxMul_p2_binom() local
59 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxMul_p2_binom()
61 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_p2_binom()
62 mod_add addF = GFP_METHOD(pGroundGFE)->add; in cpGFpxMul_p2_binom()
63 mod_sub subF = GFP_METHOD(pGroundGFE)->sub; in cpGFpxMul_p2_binom()
74 BNU_CHUNK_T* t0 = cpGFpGetPool(4, pGroundGFE); in cpGFpxMul_p2_binom()
81 BNU_CHUNK_T* arg0 = cpGFpGetPool(1, pGroundGFE); in cpGFpxMul_p2_binom()
82 BNU_CHUNK_T* arg1 = cpGFpGetPool(1, pGroundGFE); in cpGFpxMul_p2_binom()
85 cpGFpxGet(arg0, groundElemLen, pA0, pGroundGFE); in cpGFpxMul_p2_binom()
86 cpGFpxGet(arg1, groundElemLen, pB0, pGroundGFE); in cpGFpxMul_p2_binom()
[all …]
Dpcpgfpxmethod_binom_epid2.c86 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpFq6Mul_vi() local
87 int termLen = GFP_FELEN(pGroundGFE); in cpFq6Mul_vi()
96 BNU_CHUNK_T* t = cpGFpGetPool(1, pGroundGFE); in cpFq6Mul_vi()
99 cpFq2Mul_xi(t, pA2, pGroundGFE); in cpFq6Mul_vi()
104 cpGFpReleasePool(1, pGroundGFE); in cpFq6Mul_vi()
123 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxMul_p2_binom_epid2() local
124 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_p2_binom_epid2()
125 mod_add addF = GFP_METHOD(pGroundGFE)->add; in cpGFpxMul_p2_binom_epid2()
126 mod_sub subF = GFP_METHOD(pGroundGFE)->sub; in cpGFpxMul_p2_binom_epid2()
128 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxMul_p2_binom_epid2()
[all …]
Dpcpgfpx_inv.c67 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in gfpxPolyDiv() local
68 int termLen = GFP_FELEN(pGroundGFE); in gfpxPolyDiv()
77 gsModEngine* pBasicGFE = cpGFpBasic(pGroundGFE); in gfpxPolyDiv()
80 cpGFpElementPadd(pR+GFP_FELEN(pGroundGFE), termLen-GFP_FELEN(pGroundGFE), 0); in gfpxPolyDiv()
94 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in gfpxPolyDiv()
95 mod_sub subF = GFP_METHOD(pGroundGFE)->sub; in gfpxPolyDiv()
98 BNU_CHUNK_T* pProduct = cpGFpGetPool(2, pGroundGFE); in gfpxPolyDiv()
99 BNU_CHUNK_T* pInvB = pProduct + GFP_PELEN(pGroundGFE); in gfpxPolyDiv()
105 cpGFpxInv(pInvB, GFPX_IDX_ELEMENT(pB, degB, termLen), pGroundGFE); in gfpxPolyDiv()
112 pGroundGFE); in gfpxPolyDiv()
[all …]
Dpcpgfpxmethod_binom_epid2.h86 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpFq2Mul_xi() local
87 mod_mul addF = GFP_METHOD(pGroundGFE)->add; in cpFq2Mul_xi()
88 mod_sub subF = GFP_METHOD(pGroundGFE)->sub; in cpFq2Mul_xi()
90 int termLen = GFP_FELEN(pGroundGFE); in cpFq2Mul_xi()
91 BNU_CHUNK_T* t0 = cpGFpGetPool(2, pGroundGFE); in cpFq2Mul_xi()
100 addF(t0, pA0, pA0, pGroundGFE); in cpFq2Mul_xi()
101 addF(t1, pA0, pA1, pGroundGFE); in cpFq2Mul_xi()
102 subF(pR0, t0, pA1, pGroundGFE); in cpFq2Mul_xi()
103 addF(pR1, t1, pA1, pGroundGFE); in cpFq2Mul_xi()
105 cpGFpReleasePool(2, pGroundGFE); in cpFq2Mul_xi()
[all …]
Dpcpgfpxmethod_binom_mulc.h55 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxMul_G0() local
56 mod_mul mulF = GFP_METHOD(pGroundGFE)->mul; in cpGFpxMul_G0()
61 BNU_CHUNK_T* arg0 = cpGFpGetPool(1, pGroundGFE); in cpGFpxMul_G0()
62 BNU_CHUNK_T* arg1 = cpGFpGetPool(1, pGroundGFE); in cpGFpxMul_G0()
63 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxMul_G0()
67 cpGFpxGet(arg0, groundElemLen, pA, pGroundGFE); in cpGFpxMul_G0()
68 cpGFpxGet(arg1, groundElemLen, pGFpolynomial, pGroundGFE); in cpGFpxMul_G0()
71 mulF(pR, pA, pGFpolynomial, pGroundGFE); in cpGFpxMul_G0()
74 cpGFpReleasePool(2, pGroundGFE); in cpGFpxMul_G0()
Dpcpgfpx_conj.c57 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxConj() local
58 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxConj()
62 MOD_METHOD(pGroundGFE)->neg(pR+groundElemLen, pA+groundElemLen, pGroundGFE); in cpGFpxConj()
Dpcpgfpx_sub_gfe.c57 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxSub_GFE() local
58 mod_sub subF = MOD_METHOD(pGroundGFE)->sub; in cpGFpxSub_GFE()
61 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxSub_GFE()
65 return subF(pR, pA, pGroundB, pGroundGFE); in cpGFpxSub_GFE()
Dpcpgfpx_add_gfe.c57 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxAdd_GFE() local
58 mod_add addF = MOD_METHOD(pGroundGFE)->add; in cpGFpxAdd_GFE()
61 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxAdd_GFE()
65 return addF(pR, pA, pGroundB, pGroundGFE); in cpGFpxAdd_GFE()
Dpcpgfpx_mul_gfe.c57 gsModEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxMul_GFE() local
58 mod_mul mulF = MOD_METHOD(pGroundGFE)->mul; in cpGFpxMul_GFE()
60 int grounfElemLen = GFP_FELEN(pGroundGFE); in cpGFpxMul_GFE()
66 mulF(pTmp, pA, pGroundB, pGroundGFE); in cpGFpxMul_GFE()
Dpcpgfpxmethod_com_sqr.c65 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxSqr_com() local
66 BNU_CHUNK_T* r = cpGFpGetPool(1, pGroundGFE); in cpGFpxSqr_com()
67 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxSqr_com()
103 cpGFpReleasePool(1, pGroundGFE); in cpGFpxSqr_com()
Dpcpgfpxmethod_com_mul.c65 gsEngine* pGroundGFE = GFP_PARENT(pGFEx); in cpGFpxMul_com() local
66 BNU_CHUNK_T* r = cpGFpGetPool(1, pGroundGFE); in cpGFpxMul_com()
67 int groundElemLen = GFP_FELEN(pGroundGFE); in cpGFpxMul_com()
103 cpGFpReleasePool(1, pGroundGFE); in cpGFpxMul_com()