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

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