116 #define TABLE_SIZE 32
122 int i,j,
bits,
b,bits1,bits2,ret=0,wpos1,wpos2,window1,window2,wvalue1,wvalue2;
143 if ((bits1 == 0) && (bits2 == 0))
149 bits=(bits1 > bits2)?bits1:bits2;
156 if(!d || !r || !val1[0] || !val2[0])
goto err;
174 if (!
BN_mod(val1[0],a1,m,ctx))
208 if (!
BN_mod(val2[0],a2,m,ctx))
244 for (b=bits-1; b>=0; b--)
261 for (i = b-1; i >= wpos1; i--)
278 for (i = b-1; i >= wpos2; i--)
286 if (wvalue1 && b == wpos1)
295 if (wvalue2 && b == wpos2)