summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-09-04 17:08:18 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-09-17 13:20:06 +0200
commitc5080d42db1d5d5c57274bb4235d0e50fd3a3a6d (patch)
tree6d1fa9f6bd86f4c642c6416be42ebe0decead014
parent6cc4396c8829cb65e0cf182c8a13ce6b2ac66a88 (diff)
downloadlinux-c5080d42db1d5d5c57274bb4235d0e50fd3a3a6d.tar.gz
linux-c5080d42db1d5d5c57274bb4235d0e50fd3a3a6d.tar.bz2
linux-c5080d42db1d5d5c57274bb4235d0e50fd3a3a6d.zip
Bluetooth: Fix typo in smp_ah comment for hash function
Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
-rw-r--r--net/bluetooth/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c
index ad82324f710f..4d56e593faad 100644
--- a/net/bluetooth/smp.c
+++ b/net/bluetooth/smp.c
@@ -495,7 +495,7 @@ static int smp_ah(struct crypto_blkcipher *tfm, const u8 irk[16],
}
/* The output of the random address function ah is:
- * ah(h, r) = e(k, r') mod 2^24
+ * ah(k, r) = e(k, r') mod 2^24
* The output of the security function e is then truncated to 24 bits
* by taking the least significant 24 bits of the output of e as the
* result of ah.