Lines Matching refs:elemLen
97 int elemLen = GFP_FELEN(pGFE); in cpGFpSqrt() local
102 if( GFP_IS_ZERO(pA, elemLen) ) in cpGFpSqrt()
103 cpGFpElementPadd(pR, elemLen, 0); in cpGFpSqrt()
117 GFP_ONE(z, elemLen); in cpGFpSqrt()
120 cpSub_BNU(q, GFP_MODULUS(pGFE), z, elemLen); in cpGFpSqrt()
121 s = factor2(q, elemLen); in cpGFpSqrt()
128 cpGFpExp(y, GFP_QNR(pGFE), q,elemLen, pGFE); in cpGFpSqrt()
130 cpSub_BNU(q, q, z, elemLen); in cpGFpSqrt()
131 cpLSR_BNU(q, q, elemLen, 1); in cpGFpSqrt()
132 cpGFpExp(x, pA, q, elemLen, pGFE); in cpGFpSqrt()
139 while( !GFP_EQ(z, MOD_MNT_R(pGFE), elemLen) ) { in cpGFpSqrt()
141 cpGFpElementCopy(q, z, elemLen); in cpGFpSqrt()
145 if( GFP_EQ(q, MOD_MNT_R(pGFE), elemLen) ) in cpGFpSqrt()
166 if(GFP_GT(q, GFP_HMODULUS(pGFE), elemLen)) in cpGFpSqrt()