summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/whrlpool/wp_block.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/whrlpool/wp_block.c')
-rw-r--r--src/lib/libcrypto/whrlpool/wp_block.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/whrlpool/wp_block.c b/src/lib/libcrypto/whrlpool/wp_block.c
index d357e529ca..9a681c2888 100644
--- a/src/lib/libcrypto/whrlpool/wp_block.c
+++ b/src/lib/libcrypto/whrlpool/wp_block.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: wp_block.c,v 1.9 2014/07/09 16:06:13 miod Exp $ */ 1/* $OpenBSD: wp_block.c,v 1.10 2016/03/15 20:50:22 krw Exp $ */
2/** 2/**
3 * The Whirlpool hashing function. 3 * The Whirlpool hashing function.
4 * 4 *
@@ -115,7 +115,7 @@ typedef unsigned long long u64;
115 * one quadword load. One can argue that that many single-byte loads 115 * one quadword load. One can argue that that many single-byte loads
116 * is too excessive, as one could load a quadword and "milk" it for 116 * is too excessive, as one could load a quadword and "milk" it for
117 * eight 8-bit values instead. Well, yes, but in order to do so *and* 117 * eight 8-bit values instead. Well, yes, but in order to do so *and*
118 * avoid excessive loads you have to accomodate a handful of 64-bit 118 * avoid excessive loads you have to accommodate a handful of 64-bit
119 * values in the register bank and issue a bunch of shifts and mask. 119 * values in the register bank and issue a bunch of shifts and mask.
120 * It's a tradeoff: loads vs. shift and mask in big register bank[!]. 120 * It's a tradeoff: loads vs. shift and mask in big register bank[!].
121 * On most CPUs eight single-byte loads are faster and I let other 121 * On most CPUs eight single-byte loads are faster and I let other