From 9b3449e5babd9c20812cf796067d3c6090b6a228 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 29 Mar 2015 14:24:26 +0200 Subject: use SHA2 unrolled code as its a bit faster Upstream claims its faster if combined with an optimizing compiler and I can confirm that in some tests, so lets see how it works out in practice. Git-Dch: Ignore --- buildlib/config.h.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'buildlib') diff --git a/buildlib/config.h.in b/buildlib/config.h.in index c0fd2e8c6..66ab33c2b 100644 --- a/buildlib/config.h.in +++ b/buildlib/config.h.in @@ -50,3 +50,6 @@ #define APT_8_CLEANER_HEADERS #define APT_9_CLEANER_HEADERS #define APT_10_CLEANER_HEADERS + +/* unrolling is faster combined with an optimizing compiler */ +#define SHA2_UNROLL_TRANSFORM -- cgit v1.2.3