Bluetooth: AMP: Add AMP key calculation
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Thu, 27 Sep 2012 14:26:18 +0000 (17:26 +0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 27 Sep 2012 20:30:22 +0000 (17:30 -0300)
commit5a349186692950b13896abc3fb2f491d023f95a1
tree90cd3162c3f7d3277e6a8816c384c7ab0d76e1d8
parentba221bbabadd5fc2c80677b52178138fd694cc26
Bluetooth: AMP: Add AMP key calculation

Function calculates AMP keys using hmac_sha256 helper. Calculated keys
are Generic AMP Link Key (gamp) and Dedicated AMP Link Key with
keyID "802b" for 802.11 PAL.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/amp.h
net/bluetooth/Kconfig
net/bluetooth/amp.c