On Wed, 18 Oct 2017, Andrew Cagney wrote:

these use: 

        for (j = 0; j < COOKIE_SIZE; j++)
                i = i * 407 + icookie[j] + rcookie[j];

where 407 isn't prime (does anyone know where 407 came from? if not I'll change 
that to a prime 521 which I'm choosing randomly) and
I'll change the math to:

It was already in freeswan-1.97 (and possibly older)

https://download.libreswan.org/old-freeswan/old/freeswan-1.97/pluto/state.c

Paul
_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to