Explorar o código

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
David Kalnischkies %!s(int64=11) %!d(string=hai) anos
pai
achega
9b3449e5ba
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      buildlib/config.h.in

+ 3 - 0
buildlib/config.h.in

@@ -50,3 +50,6 @@
 #define APT_8_CLEANER_HEADERS
 #define APT_8_CLEANER_HEADERS
 #define APT_9_CLEANER_HEADERS
 #define APT_9_CLEANER_HEADERS
 #define APT_10_CLEANER_HEADERS
 #define APT_10_CLEANER_HEADERS
+
+/* unrolling is faster combined with an optimizing compiler */
+#define SHA2_UNROLL_TRANSFORM