Skip to content

Commit

Permalink
Bluetooth: Fix typo in smp_ah comment for hash function
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
  • Loading branch information
Marcel Holtmann committed Sep 17, 2015
1 parent 6cc4396 commit c5080d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/bluetooth/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c5080d4

Please sign in to comment.