From: David Kalnischkies Date: Sun, 29 Mar 2015 12:24:26 +0000 (+0200) Subject: use SHA2 unrolled code as its a bit faster X-Git-Tag: 1.1.exp9~140^2~59 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/9b3449e5babd9c20812cf796067d3c6090b6a228 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 --- 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