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
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
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
> >
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
>
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