summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-03-29 14:24:26 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-04-19 01:13:09 +0200
commit9b3449e5babd9c20812cf796067d3c6090b6a228 (patch)
tree376205a53d8f2ebcfc1a89457e65de5ea576cd9a
parent117038bac90261351518870b3f48136f134d4bfc (diff)
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
-rw-r--r--buildlib/config.h.in3
1 files changed, 3 insertions, 0 deletions
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