Home | History | Annotate | Download | only in smp

Lines Matching refs:le_key

217     tBTM_LE_LENC_KEYS   le_key;
226 le_key.div = p_cb->div;
227 le_key.key_size = p_cb->loc_enc_size;
228 le_key.sec_level = p_cb->sec_level;
229 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_LENC, (tBTM_LE_KEY_VALUE *)&le_key, TRUE);
462 tBTM_LE_PENC_KEYS le_key;
467 STREAM_TO_UINT16(le_key.ediv, p);
468 STREAM_TO_ARRAY(le_key.rand, p, BT_OCTET8_LEN );
471 memcpy(le_key.ltk, p_cb->ltk, BT_OCTET16_LEN);
472 le_key.sec_level = p_cb->sec_level;
473 le_key.key_size = p_cb->loc_enc_size;
474 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_PENC, (tBTM_LE_KEY_VALUE *)&le_key, TRUE);
518 tBTM_LE_PCSRK_KEYS le_key;
524 le_key.sec_level = p_cb->sec_level;
525 memcpy (le_key.csrk, p_data, BT_OCTET16_LEN); /* get peer CSRK */
526 le_key.counter = 0; /* initialize the peer counter */
527 btm_sec_save_le_key(p_cb->pairing_bda, BTM_LE_KEY_PCSRK, (tBTM_LE_KEY_VALUE *)&le_key, TRUE);