summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/whrlpool
diff options
context:
space:
mode:
authorkrw <>2016-03-15 20:50:22 +0000
committerkrw <>2016-03-15 20:50:22 +0000
commit4895438d43fba93c4ffc4bf8cfdc8c2a46cc8073 (patch)
tree6500824b8067c795c51a0528b781ff705870a104 /src/lib/libcrypto/whrlpool
parent8daa7bac4b58e4f955388e48607a12538c45fc40 (diff)
downloadopenbsd-4895438d43fba93c4ffc4bf8cfdc8c2a46cc8073.tar.gz
openbsd-4895438d43fba93c4ffc4bf8cfdc8c2a46cc8073.tar.bz2
openbsd-4895438d43fba93c4ffc4bf8cfdc8c2a46cc8073.zip
'accomodate' -> 'accommodate' in comments.
Started by diff from Mical Mazurek.
Diffstat (limited to 'src/lib/libcrypto/whrlpool')
-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