Bluetooth: Add support for LE Secure Connections LTK

This allows to store LE SC keys. Since LE SC and legacy
pairing are mutually exlusive there is no need for additional
storage space as keys.ltk can be used for it.

Change-Id: I784e670684e9047b4b90b8cb8505d9b581c47b50
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2015-10-21 10:26:24 +02:00 committed by Anas Nashif
commit ea8654d956

View file

@ -23,10 +23,11 @@ enum {
BT_KEYS_LTK = (1 << 2),
BT_KEYS_LOCAL_CSRK = (1 << 3),
BT_KEYS_REMOTE_CSRK = (1 << 4),
BT_KEYS_LTK_P256 = (1 << 5),
BT_KEYS_ALL = (BT_KEYS_SLAVE_LTK | BT_KEYS_IRK | \
BT_KEYS_LTK | BT_KEYS_LOCAL_CSRK | \
BT_KEYS_REMOTE_CSRK),
BT_KEYS_REMOTE_CSRK | BT_KEYS_LTK_P256),
};
enum {