use SHA2 unrolled code as its a bit faster
authorDavid Kalnischkies <david@kalnischkies.de>
Sun, 29 Mar 2015 12:24:26 +0000 (14:24 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Sat, 18 Apr 2015 23:13:09 +0000 (01:13 +0200)
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

index c0fd2e8c666aa2ddb36d219eaea3ec88b71b4674..66ab33c2ba8704327ee83a1cf949a560c93128ca 100644 (file)
@@ -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