diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-17 19:42:45 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-12-17 19:42:45 +0000 |
commit | 1983d55ae2567fb1cf10bd9863f660f3ccb15fac (patch) | |
tree | 0b215c305a8c13fcaf32dd4191f5c57c3123a11c /lib | |
parent | e603d661cd7bc55c2978864f19d9bbe6b4ba9299 (diff) |
unroll loops. much faster on amd64. ok deraadt millert
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/hash/sha2.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 *****************/ /* |