Re: mpn_redc_n

2015-03-30 Thread tg
paul zimmermann writes: we might use mpn_redc_n in GMP-ECM, depending on tuning results wrt mpn_redc_1, mpn_redc_2, and other functions. I presume you've noticed that this function is booming out THIS IS AN INTERNAL FUNCTION WITH A MUTABLE INTERFACE. IT IS ONLY SAFE TO REACH THIS

mpn_redc_n

2015-03-30 Thread paul zimmermann
Hi, we might use mpn_redc_n in GMP-ECM, depending on tuning results wrt mpn_redc_1, mpn_redc_2, and other functions. However, it seems mpn_redc_n uses the inverse convention for the precomputed inverse (ip[] = 1/mp[] mod R^n instead of -1/mp[] mod R^n for redc_[12]). Would it be possible