Lines Matching refs:nItems

57 static int GetIndex(const BNU_CHUNK_T* ppE[], int nItems, int nBit)  in GetIndex()  argument
64 for(n=nItems; n>0; n--) { in GetIndex()
74 static void cpPrecomputeMultiExp(BNU_CHUNK_T* pTable, const BNU_CHUNK_T* ppA[], int nItems, gsModEn… in cpPrecomputeMultiExp() argument
90 gsScramblePut(pTable, 0, pT, elmLen, nItems); in cpPrecomputeMultiExp()
93 gsScramblePut(pTable, 1, ppA[0], elmLen, nItems); in cpPrecomputeMultiExp()
99 for(i=1, baseIdx=2; i<nItems; i++, baseIdx*=2) { in cpPrecomputeMultiExp()
102 gsScramblePut(pTable, baseIdx, ppA[i], elmLen, nItems); in cpPrecomputeMultiExp()
116 gsScrambleGet(pT, elmLen, pTable, tblIdx, nItems); in cpPrecomputeMultiExp()
119 gsScramblePut(pTable, tblIdx+step, pT, elmLen, nItems); in cpPrecomputeMultiExp()
134 static int cpGetMaxBitsizeExponent(const BNU_CHUNK_T* ppE[], int nsE[], int nItems) in cpGetMaxBitsizeExponent() argument
139 for(n=1; n<nItems; n++) { in cpGetMaxBitsizeExponent()
146 …ultiExp(BNU_CHUNK_T* pR, const BNU_CHUNK_T* ppA[], const BNU_CHUNK_T* ppE[], int nsE[], int nItems, in cpGFpxMultiExp() argument
152 cpPrecomputeMultiExp(pTable, ppA, nItems, pGFEx); in cpGFpxMultiExp()
160 int expBitSize = cpGetMaxBitsizeExponent(ppE, nsE, nItems); in cpGFpxMultiExp()
166 for(n=0; n<nItems; n++) { in cpGFpxMultiExp()
180 int tblIdx = GetIndex(ppExponent, nItems, --expBitSize); in cpGFpxMultiExp()
182 gsScrambleGet_sscm(pR, elmLen, pTable, tblIdx, nItems); in cpGFpxMultiExp()
189 tblIdx = GetIndex(ppExponent, nItems, expBitSize); in cpGFpxMultiExp()
191 gsScrambleGet_sscm(pT, elmLen, pTable, tblIdx, nItems); in cpGFpxMultiExp()
200 cpGFpReleasePool(nItems, pGFEx); in cpGFpxMultiExp()