Browse Source

unroll loops. much faster on amd64. ok deraadt millert

OPENBSD_5_7
tedu 9 years ago
parent
commit
b3da475e6b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/lib/libc/hash/sha2.c

+ 2
- 1
src/lib/libc/hash/sha2.c View File

@ -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 *****************/
/*


Loading…
Cancel
Save