浏览代码

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 11 年之前
父节点
当前提交
9b3449e5ba
共有 1 个文件被更改,包括 3 次插入 和 0 次删除
  1. 3 0
      buildlib/config.h.in

+ 3 - 0
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