diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2015-09-04 17:08:18 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-09-17 13:20:06 +0200 |
commit | c5080d42db1d5d5c57274bb4235d0e50fd3a3a6d (patch) | |
tree | 6d1fa9f6bd86f4c642c6416be42ebe0decead014 /net/bluetooth/smp.c | |
parent | 6cc4396c8829cb65e0cf182c8a13ce6b2ac66a88 (diff) | |
download | op-kernel-dev-c5080d42db1d5d5c57274bb4235d0e50fd3a3a6d.zip op-kernel-dev-c5080d42db1d5d5c57274bb4235d0e50fd3a3a6d.tar.gz |
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>
Diffstat (limited to 'net/bluetooth/smp.c')
-rw-r--r-- | net/bluetooth/smp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/smp.c b/net/bluetooth/smp.c index ad82324..4d56e59 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. |