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

Commit ca0ad02b authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Encapsulate tBTM_CB::enc_rand, ediv, key_size am: 7c680590

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1446763

Change-Id: I9dfdee968a86275055b72df5080e69859bc977e2
parents 78583850 7c680590
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -211,10 +211,15 @@ typedef struct {
                                        const Octet16& stk);
  uint16_t enc_handle;

 public:
  friend void btm_ble_ltk_request(uint16_t handle, uint8_t rand[8],
                                  uint16_t ediv);
  BT_OCTET8 enc_rand; /* received rand value from LTK request*/

  uint16_t ediv;      /* received ediv value from LTK request */

  uint8_t key_size;

 public:
  tBTM_BLE_VSC_CB cmn_ble_vsc_cb;

  /* Packet types supported by the local device */