113 #if defined( INC_ALL )
119 #define TABLE_SIZE 32
125 int i,j,bits,b,bits1,bits2,ret=0,wpos1,wpos2,window1,window2,wvalue1,wvalue2;
146 if ((bits1 == 0) && (bits2 == 0))
152 bits=(bits1 > bits2)?bits1:bits2;
159 if(!d || !r || !val1[0] || !val2[0])
goto err;
177 if (!
BN_mod(val1[0],a1,m,ctx))
211 if (!
BN_mod(val2[0],a2,m,ctx))
247 for (b=bits-1; b>=0; b--)
264 for (i = b-1; i >= wpos1; i--)
281 for (i = b-1; i >= wpos2; i--)
289 if (wvalue1 && b == wpos1)
298 if (wvalue2 && b == wpos2)