[Ecm-dev] Re: ECM marriage

Alexander Kruppa alexander.kruppa at mytum.de
Dim 29 Mai 14:40:02 CEST 2005


Alexander Kruppa wrote:

> I'm having trouble with Fermat numbers, there's a segfault when 
> multiplying two numbers with gwmul(). I'm not yet convinced that the bug 
> isn't in my code somewhere so I don't want to pass the investigation on 
> to you at this time.

I think I found it: we init GWNUM for arithmetic modulo Fermat numbers 
before stage 1, then your stage 1 does the same and cleans up at the 
end, next time we try to use GWNUM it's not initialised any more.

I think I'll do the sigma->A conversion in plain GMP and init GWNUM only 
after stage 1.

Alex





Plus d'informations sur la liste de diffusion Ecm-discuss