projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cc4396
)
Bluetooth: Fix typo in smp_ah comment for hash function
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 4 Sep 2015 15:08:18 +0000
(17:08 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Thu, 17 Sep 2015 11:20:06 +0000
(13:20 +0200)
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/smp.c
patch
|
blob
|
history
diff --git
a/net/bluetooth/smp.c
b/net/bluetooth/smp.c
index ad82324f710f0f97427a51c632e5a8aebfaba292..4d56e593faad2eefa208d6a913aadb874a6761f3 100644
(file)
--- 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.