From: tedu Date: Wed, 17 Dec 2014 19:42:44 +0000 (+0000) Subject: unroll loops. much faster on amd64. ok deraadt millert X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=250c30882de68fcdffd298c72424b3e401393eef;p=openbsd unroll loops. much faster on amd64. ok deraadt millert --- diff --git a/lib/libc/hash/sha2.c b/lib/libc/hash/sha2.c index e8216dfb4fc..db6046cf689 100644 --- a/lib/libc/hash/sha2.c +++ b/lib/libc/hash/sha2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sha2.c,v 1.18 2014/07/20 04:22:34 guenther Exp $ */ +/* $OpenBSD: sha2.c,v 1.19 2014/12/17 19:42:44 tedu Exp $ */ /* * FILE: sha2.c @@ -52,6 +52,7 @@ * #define SHA2_UNROLL_TRANSFORM * */ +#define SHA2_UNROLL_TRANSFORM /*** SHA-224/256/384/512 Machine Architecture Definitions *****************/ /*