From: Marcel Holtmann Date: Fri, 4 Sep 2015 15:08:18 +0000 (+0200) Subject: Bluetooth: Fix typo in smp_ah comment for hash function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c5080d42db1d5d5c57274bb4235d0e50fd3a3a6d;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git Bluetooth: Fix typo in smp_ah comment for hash function Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- 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.