Lines Matching refs:pGFEx
62 __INLINE int degree(const BNU_CHUNK_T* pE, const gsModEngine* pGFEx) in degree() argument
64 int groundElemLen = GFP_FELEN(GFP_PARENT(pGFEx)); in degree()
66 for(deg=GFP_EXTDEGREE(pGFEx)-1; deg>=0; deg-- ) { in degree()
72 __INLINE gsModEngine* cpGFpBasic(const gsModEngine* pGFEx) in cpGFpBasic() argument
74 while( !GFP_IS_BASIC(pGFEx) ) { in cpGFpBasic()
75 pGFEx = GFP_PARENT(pGFEx); in cpGFpBasic()
77 return (gsModEngine*)pGFEx; in cpGFpBasic()
79 __INLINE int cpGFpBasicDegreeExtension(const gsModEngine* pGFEx) in cpGFpBasicDegreeExtension() argument
81 int degree = GFP_EXTDEGREE(pGFEx); in cpGFpBasicDegreeExtension()
82 while( !GFP_IS_BASIC(pGFEx) ) { in cpGFpBasicDegreeExtension()
83 pGFEx = GFP_PARENT(pGFEx); in cpGFpBasicDegreeExtension()
84 degree *= GFP_EXTDEGREE(pGFEx); in cpGFpBasicDegreeExtension()
92 …NLINE int cpGFpxCopyToChunk(BNU_CHUNK_T* pElm, const Ipp32u* pA, int nsA, const gsModEngine* pGFEx) in cpGFpxCopyToChunk() argument
94 gsModEngine* pBasicGFE = cpGFpBasic(pGFEx); in cpGFpxCopyToChunk()
95 int basicExtension = cpGFpBasicDegreeExtension(pGFEx); in cpGFpxCopyToChunk()
111 __INLINE int cpGFpxCopyFromChunk(Ipp32u* pA, const BNU_CHUNK_T* pElm, const gsModEngine* pGFEx) in cpGFpxCopyFromChunk() argument
113 gsModEngine* pBasicGFE = cpGFpBasic(pGFEx); in cpGFpxCopyFromChunk()
114 int basicExtension = cpGFpBasicDegreeExtension(pGFEx); in cpGFpxCopyFromChunk()
128 BNU_CHUNK_T* cpGFpxRand(BNU_CHUNK_T* pR, gsModEngine* pGFEx, IppBitSupplier rndFunc, void* pRndPara…
131 BNU_CHUNK_T* cpGFpxSet (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pDataA, int nsA, gsModEngine* pGFEx);
134 BNU_CHUNK_T* cpGFpxGet (BNU_CHUNK_T* pDataA, int nsA, const BNU_CHUNK_T* pR, gsModEngine* pGFEx);
137 …GFpxSetPolyTerm (BNU_CHUNK_T* pR, int deg, const BNU_CHUNK_T* pDataA, int nsA, gsModEngine* pGFEx);
140 …GFpxGetPolyTerm (BNU_CHUNK_T* pDataA, int nsA, const BNU_CHUNK_T* pR, int deg, gsModEngine* pGFEx);
143 … cpGFpxAdd (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, gsModEngine* pGFEx);
146 … cpGFpxSub (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, gsModEngine* pGFEx);
149 … cpGFpxMul (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pB, gsModEngine* pGFEx);
152 BNU_CHUNK_T* cpGFpxSqr (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFEx);
155 …xAdd_GFE (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pGroundB, gsModEngine* pGFEx);
158 …xSub_GFE (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pGroundB, gsModEngine* pGFEx);
161 …xMul_GFE (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pGroundB, gsModEngine* pGFEx);
167 …* pR, const BNU_CHUNK_T* pA, const BNU_CHUNK_T* pE, int nsE, gsModEngine* pGFEx, Ipp8u* pScratchBu…
171 gsModEngine* pGFEx, Ipp8u* pScratchBuffer);
174 BNU_CHUNK_T* cpGFpxConj(BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFEx);
177 BNU_CHUNK_T* cpGFpxNeg (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFEx);
180 BNU_CHUNK_T* cpGFpxInv (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFEx);
183 BNU_CHUNK_T* cpGFpxHalve (BNU_CHUNK_T* pR, const BNU_CHUNK_T* pA, gsModEngine* pGFEx);