nisse@lysator.liu.se (Niels Möller) writes:
I think the correct way is to add some markup to the assembly files saying what value of GMP_NUMB_BITS they need, and exclude files which expect a value different from the one detected by configure.
Fixed now. Interestingly, it's only moduli which are represented as an *odd* number of 32-bit limbs which fail. I.e., secp_224r1 and secp_521_r1. For an even number of 32-bit limbs, it's the same size, and they represent the same integer when interpreted as 64-bit limbs (since GMP and mini-gmp uses little endian order of the limbs), and x86 doesn't require aligned reads.
I've made an rc3 tarball.
http://www.lysator.liu.se/~nisse/archive/nettle-3.1rc3.tar.gz http://www.lysator.liu.se/~nisse/archive/nettle-3.1rc3.tar.gz.sig
Regards, /Niels