diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2011-07-07 17:59:34 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-07-08 16:07:43 -0400 |
commit | 7034b911af1aa571995b56db3ed71a25daf00373 (patch) | |
tree | 89325f75fef679c8d6657ee6d971aa36823cc962 /include/net | |
parent | fadd192e81b0a8d8086531b8c11bd88b311b68c2 (diff) |
Bluetooth: Add support for SMP phase 3 (key distribution)
This adds support for generating and distributing all the keys
specified in the third phase of SMP.
This will make possible to re-establish secure connections, resolve
private addresses and sign commands.
For now, the values generated are random.
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/bluetooth/smp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/smp.h b/include/net/bluetooth/smp.h index 4fb7d198a876..46c457612300 100644 --- a/include/net/bluetooth/smp.h +++ b/include/net/bluetooth/smp.h | |||
@@ -118,5 +118,6 @@ struct smp_cmd_security_req { | |||
118 | /* SMP Commands */ | 118 | /* SMP Commands */ |
119 | int smp_conn_security(struct l2cap_conn *conn, __u8 sec_level); | 119 | int smp_conn_security(struct l2cap_conn *conn, __u8 sec_level); |
120 | int smp_sig_channel(struct l2cap_conn *conn, struct sk_buff *skb); | 120 | int smp_sig_channel(struct l2cap_conn *conn, struct sk_buff *skb); |
121 | int smp_distribute_keys(struct l2cap_conn *conn, __u8 force); | ||
121 | 122 | ||
122 | #endif /* __SMP_H */ | 123 | #endif /* __SMP_H */ |