Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c5080d42 authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

Bluetooth: Fix typo in smp_ah comment for hash function

parent 6cc4396c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.