diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-01-10 05:07:29 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-02-13 02:51:34 -0500 |
commit | 0798872ef1ad6433362faca1d16a31ad7ad72638 (patch) | |
tree | 5950ff1249110955431050c83f60f431a14bb5d8 /include/net/bluetooth | |
parent | 519ca9d017ab7eb4a15787bd8f2d867bebe375bc (diff) |
Bluetooth: Add internal function for storing P-192 and P-256 data
Add function to allow adding P-192 and P-256 data to the internal
storage. This also fixes a few coding style issues from the previous
helper functions for the out-of-band credentials storage.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 5948930f92e6..66e96ebffe97 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h | |||
@@ -761,9 +761,12 @@ int hci_remove_link_key(struct hci_dev *hdev, bdaddr_t *bdaddr); | |||
761 | 761 | ||
762 | int hci_remote_oob_data_clear(struct hci_dev *hdev); | 762 | int hci_remote_oob_data_clear(struct hci_dev *hdev); |
763 | struct oob_data *hci_find_remote_oob_data(struct hci_dev *hdev, | 763 | struct oob_data *hci_find_remote_oob_data(struct hci_dev *hdev, |
764 | bdaddr_t *bdaddr); | 764 | bdaddr_t *bdaddr); |
765 | int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 *hash, | 765 | int hci_add_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr, |
766 | u8 *randomizer); | 766 | u8 *hash, u8 *randomizer); |
767 | int hci_add_remote_oob_ext_data(struct hci_dev *hdev, bdaddr_t *bdaddr, | ||
768 | u8 *hash192, u8 *randomizer192, | ||
769 | u8 *hash256, u8 *randomizer256); | ||
767 | int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr); | 770 | int hci_remove_remote_oob_data(struct hci_dev *hdev, bdaddr_t *bdaddr); |
768 | 771 | ||
769 | void hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb); | 772 | void hci_event_packet(struct hci_dev *hdev, struct sk_buff *skb); |