Re: easier version checks

2018-02-07 Thread Nikos Mavrogiannopoulos
On Wed, 2018-02-07 at 21:53 +0100, Niels Möller wrote: > Nikos Mavrogiannopoulos writes: > > > What about extending the macros in version.h with a simple to use > > combined version number? > > I think I'd prefer to leave that out. The formatting is very > arbitrary, and any > application which

Re: Miscomputation with big-endian arm asm

2018-02-07 Thread Nikos Mavrogiannopoulos
On Wed, 2018-02-07 at 13:13 +0100, Niels Möller wrote: > > > I'd be willing to throw in aarch64 as well because I've got some > > Pine64s running BE floating around also. :) > > Aarch64 assembly (for both endian flavors) would be nice, but it's a > separate project. I haven't yet looked into aarc

x86 sha_ni

2018-02-07 Thread Niels Möller
Hi, I've been trying out the sha_ni instructions available on some newer x86_64 processors. Below replacement for sha1-compress.asm seems to run on roughly 2 cycles/byte when I benchmark it on an "AMD Ryzen 7 1700X" cpu in the gcc compile farm. Still sligthly slower than openssl, to squeeze out a

Re: easier version checks

2018-02-07 Thread Niels Möller
Nikos Mavrogiannopoulos writes: > What about extending the macros in version.h with a simple to use > combined version number? I think I'd prefer to leave that out. The formatting is very arbitrary, and any application which needs it can #define NETTLE_COMBINED_VERSION \ ((NETTLE_VERSION_MAJ

Re: Miscomputation with big-endian arm asm

2018-02-07 Thread Niels Möller
Michael Weiser writes: >> What board and linux (dist?) are you running this on? > > I have a number of Cubieboard2s that run Gentoo Linux with a vanilla, > mainline Linus kernel. > > # uname -a > Linux b 4.15.0-gentoo #2 SMP Sun Feb 4 18:46:30 CET 2018 armv7b > ARMv7 Processor rev 4 (v7b) Allwinn

easier version checks

2018-02-07 Thread Nikos Mavrogiannopoulos
What about extending the macros in version.h with a simple to use combined version number? From e96108cbb92a923e02349a0d3b672a9b2b94c8b9 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 7 Feb 2018 11:29:07 +0100 Subject: [PATCH] version.h: introduce NETTLE_VERSION That macro is