Re: sec_powm.c:293: GNU MP assertion failed: enb >= windowsize

2018-12-30 Thread Jeffrey Walton
On Sat, Dec 29, 2018 at 9:07 PM Jeffrey Walton wrote: > > On Sat, Dec 29, 2018 at 2:17 PM Jeffrey Walton wrote: > > > > I'm trying to build Nettle 3.4.1 on Fedora 29, x64 (fully patched). > > Self tests are failing at: > > > > PASS: rsa-sec-decrypt > > sec_powm.c:293: GNU MP assertion

Re: sec_powm.c:293: GNU MP assertion failed: enb >= windowsize

2018-12-30 Thread Jeffrey Walton
On Sun, Dec 30, 2018 at 5:27 PM Niels Möller wrote: > > It might also be a bug in the book-keeping of scratch space, leading to > some memory overwrite. Try running the test program under valgrind > and/or asan? Hey Niels, What is the test name and how do I run it? Given I've built the library

Re: sec_powm.c:293: GNU MP assertion failed: enb >= windowsize

2018-12-30 Thread Jeffrey Walton
On Sun, Dec 30, 2018 at 5:27 PM Niels Möller wrote: > > Jeffrey Walton writes: > > > I'm trying to build Nettle 3.4.1 on Fedora 29, x64 (fully patched). > > Self tests are failing at: > > > > PASS: rsa-sec-decrypt > > sec_powm.c:293: GNU MP assertion failed: enb >= windowsize > >

Re: sec_powm.c:293: GNU MP assertion failed: enb >= windowsize

2018-12-30 Thread Niels Möller
Jeffrey Walton writes: > I'm trying to build Nettle 3.4.1 on Fedora 29, x64 (fully patched). > Self tests are failing at: > > PASS: rsa-sec-decrypt > sec_powm.c:293: GNU MP assertion failed: enb >= windowsize > ../run-tests: line 57: 22997 Aborted (core dumped) "$1" $testflags >

Re: error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode

2018-12-30 Thread Niels Möller
Jeffrey Walton writes: > rsa-sign-tr.c: In function ‘sec_equal’: > rsa-sign-tr.c:243:3: error: ‘for’ loop initial declarations are only > allowed in C99 or C11 mode >for (size_t i = 0; i < limbs; i++) >^ > rsa-sign-tr.c:243:3: note: use option -std=c99, -std=gnu99, -std=c11 > or