Home | History | Annotate | Download | only in ippcp

Lines Matching defs:mLen

66    int mLen = MOD_LEN(pME);
72 BNU_CHUNK_T extension = cpAdd_BNU(pr, pa, pb, mLen);
73 extension -= cpSub_BNU(pBuffer, pr, pm, mLen);
74 cpMaskMove_gs(pr, pBuffer, mLen, cpIsZero(extension));
91 int mLen = MOD_LEN(pME);
97 BNU_CHUNK_T extension = cpSub_BNU(pr, pa, pb, mLen);
98 cpAdd_BNU(pBuffer, pr, pm, mLen);
99 cpMaskMove_gs(pr, pBuffer, mLen, cpIsNonZero(extension));
115 int mLen = MOD_LEN(pME);
121 BNU_CHUNK_T extension = cpSub_BNU(pr, pm, pa, mLen);
122 extension -= cpSub_BNU(pBuffer, pr, pm, mLen);
123 cpMaskMove_gs(pr, pBuffer, mLen, cpIsZero(extension));
139 int mLen = MOD_LEN(pME);
147 for(i=0; i<mLen; i++) pBuffer[i] = pm[i] & mask;
149 pBuffer[mLen] = cpAdd_BNU(pBuffer, pBuffer, pa, mLen);
150 cpLSR_BNU(pBuffer, pBuffer, mLen+1, 1);
152 for(i=0; i<mLen; i++) pr[i] = pBuffer[i];
202 int mLen = MOD_LEN(pME);
208 for(i=0; i<mLen; i++, prod++) {
220 for(j=1; j<mLen; j++) {
227 ADD_ABC(carry, prod[mLen], prod[mLen], ex_mu, carry);
231 carry -= cpSub_BNU(pr, prod, pm, mLen);
232 cpMaskMove_gs(pr, prod, mLen, cpIsNonZero(carry));
242 int mLen = MOD_LEN(pME);
244 cpMontRedAdc_BNU(pr, prod, pm, mLen, k0);
254 int mLen = MOD_LEN(pME);
256 cpMontRedAdx_BNU(pr, prod, pm, mLen, k0);
278 int mLen = MOD_LEN(pME);
289 for(i=0; i<mLen; i++) pBuffer[i] = 0;
292 for(i=0; i<mLen; i++) {
315 for(j=1; j<mLen; j++) {
326 ADD_ABC(carry, pBuffer[mLen-1], ex_ab, ex_mu, carry);
329 carry -= cpSub_BNU(pr, pBuffer, pm, mLen);
330 cpMaskMove_gs(pr, pBuffer, mLen, cpIsNonZero(carry));
343 int mLen = MOD_LEN(pME);
349 cpMulAdc_BNU_school(pProduct, pa,mLen, pb,mLen);
350 cpMontRedAdc_BNU(pr, pProduct, pm, mLen, m0);
361 int mLen = MOD_LEN(pME);
367 cpMulAdx_BNU_school(pProduct, pa,mLen, pb,mLen);
368 cpMontRedAdx_BNU(pr, pProduct, pm, mLen, m0);
388 int mLen = MOD_LEN(pME);
394 cpSqrAdc_BNU_school(pProduct, pa,mLen);
395 cpMontRedAdc_BNU(pr, pProduct, pm, mLen, m0);
406 int mLen = MOD_LEN(pME);
412 cpSqrAdx_BNU_school(pProduct, pa,mLen);
413 cpMontRedAdx_BNU(pr, pProduct, pm, mLen, m0);
432 int mLen = MOD_LEN(pME);
438 cpMulAdc_BNU_school(pProduct, pa,mLen, MOD_MNT_R2(pME),mLen);
439 cpMontRedAdc_BNU(pr, pProduct, pm, mLen, m0);
451 int mLen = MOD_LEN(pME);
457 cpMulAdx_BNU_school(pProduct, pa,mLen, MOD_MNT_R2(pME),mLen);
458 cpMontRedAdx_BNU(pr, pProduct, pm, mLen, m0);
474 int mLen = MOD_LEN(pME);
480 ZEXPAND_COPY_BNU(pProduct, 2*mLen, pa, mLen);
481 cpMontRedAdc_BNU(pr, pProduct, MOD_MODULUS(pME), mLen, MOD_MNT_FACTOR(pME));
490 int mLen = MOD_LEN(pME);
496 ZEXPAND_COPY_BNU(pProduct, 2*mLen, pa, mLen);
497 cpMontRedAdx_BNU(pr, pProduct, MOD_MODULUS(pME), mLen, MOD_MNT_FACTOR(pME));