/external/epid-sdk/ext/ipp/sources/ippcp/ |
D | pcpgfpec_setpoint.c | 62 int elmLen = GFP_FELEN(pGFE); in gfec_IsAffinePointAtInfinity() local 64 int atInfinity = GFP_IS_ZERO(pX,elmLen); in gfec_IsAffinePointAtInfinity() 72 cpGFpElementPadd(tmpY, elmLen, 0); in gfec_IsAffinePointAtInfinity() 77 cpGFpElementCopyPadd(tmpY, elmLen, mont1, basicElmLen); in gfec_IsAffinePointAtInfinity() 81 atInfinity &= GFP_EQ(pY, tmpY, elmLen); in gfec_IsAffinePointAtInfinity() 94 int elmLen = GFP_FELEN(pGFE); in gfec_SetPoint() local 99 cpGFpElementCopy(pPointData, pX, elmLen); in gfec_SetPoint() 100 cpGFpElementCopy(pPointData+elmLen, pY, elmLen); in gfec_SetPoint() 101 cpGFpElementCopyPadd(pPointData+elmLen*2, elmLen, GFP_MNT_R(pBasicGFE), GFP_FELEN(pBasicGFE)); in gfec_SetPoint() 104 cpGFpElementPadd(pPointData, 3*elmLen, 0); in gfec_SetPoint()
|
D | pcpgfpec_mulbase.c | 66 int elmLen = GFP_FELEN(pGFE); in gfec_base_point_mul() local 74 int tslot_size = tslot_point * (elmLen*2); in gfec_base_point_mul() 90 negF(negtmp, pRdata+elmLen, pGFE); in gfec_base_point_mul() 91 cpMaskedReplace_ct(pRdata+elmLen, negtmp, elmLen, ~cpIsZero_ct(sign)); in gfec_base_point_mul() 92 cpGFpElementCopy(pRdata+elmLen*2, mont1, elmLen); in gfec_base_point_mul() 93 cpGFpElementCopy(pointT+elmLen*2, mont1, elmLen); in gfec_base_point_mul() 103 negF(negtmp, pointT+elmLen, pGFE); in gfec_base_point_mul() 104 cpMaskedReplace_ct(pointT+elmLen, negtmp, elmLen, ~cpIsZero_ct(sign)); in gfec_base_point_mul()
|
D | pcpgfpx_multiexp.c | 81 int elmLen = GFP_FELEN(pGFEx); in cpPrecomputeMultiExp() local 88 cpGFpElementCopyPadd(pT, elmLen, GFP_MNT_R(pBasicGFE), GFP_FELEN(pBasicGFE)); in cpPrecomputeMultiExp() 90 gsScramblePut(pTable, 0, pT, elmLen, nItems); in cpPrecomputeMultiExp() 93 gsScramblePut(pTable, 1, ppA[0], elmLen, nItems); 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() 157 int elmLen = GFP_FELEN(pGFEx); in cpGFpxMultiExp() local 169 cpGFpElementCopyPadd(pData, elmLen, ppE[n], nsE[n]); in cpGFpxMultiExp() 182 gsScrambleGet_sscm(pR, elmLen, pTable, tblIdx, nItems); in cpGFpxMultiExp() [all …]
|
D | pcpgfpx_exp.c | 104 int elmLen = GFP_FELEN(pGFEx); in cpGFpxExp() local 129 cpGFpElementCopyPadd(pTmp, elmLen, GFP_MNT_R(pBasicGFE), GFP_FELEN(pBasicGFE)); in cpGFpxExp() 131 gsScramblePut(pScratchAligned, 0, pTmp, elmLen, w); in cpGFpxExp() 141 gsScramblePut(pScratchAligned, n, pTmp, elmLen, w); in cpGFpxExp() 176 gsScrambleGet_sscm(pR, elmLen, pScratchAligned, windowVal, w); in cpGFpxExp() 201 gsScrambleGet_sscm(pTmp, elmLen, pScratchAligned, windowVal, w); in cpGFpxExp()
|
D | pcpgfpisunityelem.c | 97 int elmLen = GFP_FELEN(pGFE); variable 101 FIX_BNU(GFPE_DATA(pA), elmLen); 103 flag = (basicElmLen==elmLen) && (0 == cpGFpElementCmp(GFPE_DATA(pA), pUnity, elmLen));
|
D | pcpeccpverifynrca.c | 142 int elmLen = GFP_FELEN(pGFE); variable 174 elmLen = cpMod_BNU(pH1, elmLen, pOrder, orderLen); 175 cpGFpElementPadd(pH1+elmLen, orderLen-elmLen, 0);
|
D | pcpgfpecdh.c | 120 int elmLen = GFP_FELEN(pGFE); variable 131 cpGFpElementConstruct(&elm, cpGFpGetPool(1, pGFE), elmLen); 139 cpGFpElementPadd(pShareData+elmLen, nsShare-elmLen, 0);
|
D | pcpgfpecverifynr.c | 153 int elmLen = GFP_FELEN(pGFE); variable 174 elmLen = cpMod_BNU(h1, elmLen, pOrder, orderLen); 175 cpGFpElementPadd(h1+elmLen, orderLen-elmLen, 0);
|
D | pcpeccpverifydsaca.c | 138 int elmLen = GFP_FELEN(pGFE); variable 182 elmLen = cpMod_BNU(h1, elmLen, pOrder, orderLen); 183 cpGFpElementPadd(h1+elmLen, orderLen-elmLen, 0);
|
D | pcpgfpecverifydsa.c | 153 int elmLen = GFP_FELEN(pGFE); variable 185 elmLen = cpMod_BNU(h1, elmLen, pOrder, orderLen); 186 cpGFpElementPadd(h1+elmLen, orderLen-elmLen, 0);
|
D | pcpgfpecdhc.c | 117 int elmLen = GFP_FELEN(pGFE); variable 144 cpGFpElementConstruct(&elm, F, elmLen); 151 cpGFpElementPadd(pShareData+elmLen, nsShare-elmLen, 0);
|
D | pcpgfpec_negpoint.c | 63 int elmLen = GFP_FELEN(pGFE); in gfec_NegPoint() local 65 gfec_CopyPoint(pR, pP, elmLen); in gfec_NegPoint()
|
D | pcpgfpecgetpointreg.c | 113 int elmLen = GFP_FELEN(pGFE); variable 115 BNU_CHUNK_T* y = x + elmLen;
|
D | pcpeccpsignnrca.c | 154 int elmLen = GFP_FELEN(pMontP); variable 170 ns = cpMod_BNU(buffer, elmLen, pOrder, ordLen);
|
D | pcpeccpverifysm2ca.c | 151 int elmLen = GFP_FELEN(pGFE); variable 178 ns = cpMod_BNU(t, elmLen, pOrder, orderLen);
|
D | pcpeccpsigndsaca.c | 154 int elmLen = GFP_FELEN(pMontP); variable 173 ns = cpMod_BNU(buffer, elmLen, pOrder, ordLen);
|
D | pcpgfpecsignnr.c | 178 int elmLen = GFP_FELEN(pMontP); variable 193 ns = cpMod_BNU(buffer, elmLen, pOrder, ordLen);
|
D | pcpgfpecsigndsa.c | 179 int elmLen = GFP_FELEN(pMontP); variable 196 ns = cpMod_BNU(buffer, elmLen, pOrder, ordLen);
|