Lines Matching refs:local_i_key
86 "%s before update role=%d recv=%d local_i_key = %02x, local_r_key = %02x",
87 __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key);
94 p_cb->local_i_key &= ~key_type;
98 p_cb->local_i_key &= ~key_type;
105 p_cb->local_i_key &= ~key_type;
108 SMP_TRACE_DEBUG("updated local_i_key = %02x, local_r_key = %02x",
109 p_cb->local_i_key, p_cb->local_r_key);
128 cb_data.io_req.init_keys = p_cb->local_i_key;
169 p_cb->local_i_key = cb_data.io_req.init_keys;
174 p_cb->local_i_key = 0;
181 "local_i_key: 0x%02x, local_r_key: 0x%02x",
183 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key);
197 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK;
202 "set auth_req: 0x%02x, local_i_key: 0x%02x, local_r_key: 0x%02x",
203 p_cb->loc_auth_req, p_cb->local_i_key, p_cb->local_r_key);
210 p_cb->local_i_key = cb_data.io_req.init_keys;
214 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK;
219 local_i_key: 0x%02x, local_r_key: 0x%02x, p_cb->loc_auth_req: 0x%02x",
220 p_cb->loc_enc_size, p_cb->local_i_key, p_cb->local_r_key,
277 p_cb->local_i_key &= p_cb->peer_i_key;
466 p_cb->local_r_key = p_cb->local_i_key = SMP_SEC_DEFAULT_KEY;
544 p_cb->local_i_key = p_cb->peer_i_key;
551 p_cb->local_i_key &= p_cb->peer_i_key;
790 p_cb->local_i_key = p_cb->peer_i_key;
838 __func__, p_cb->local_i_key, p_cb->local_r_key);
841 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK;
860 __func__, p_cb->local_i_key, p_cb->local_r_key);
864 (p_cb->local_i_key || p_cb->local_r_key)) {
883 p_cb->role, p_cb->local_r_key, p_cb->local_i_key);
890 if (!p_cb->local_i_key && !p_cb->local_r_key) {
1021 p_cb->local_i_key = p_cb->peer_i_key;
1102 __func__, enc_enable, p_cb->local_i_key, p_cb->local_r_key);
1106 p_cb->local_i_key |= SMP_SEC_KEY_TYPE_ENC;
1110 if (!(p_cb->local_i_key & SMP_SEC_KEY_TYPE_LK) ||
1112 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK;
1124 p_cb->local_i_key &= ~SMP_SEC_KEY_TYPE_LK;
1130 __func__, p_cb->local_i_key, p_cb->local_r_key);
1134 (p_cb->local_i_key || p_cb->local_r_key)) {
1156 (p_cb->role == HCI_ROLE_SLAVE) ? p_cb->local_r_key : p_cb->local_i_key;
1177 p_cb->role, p_cb->local_r_key, p_cb->local_i_key);
1184 if (!p_cb->local_i_key && !p_cb->local_r_key) {
1361 p_cb->local_i_key &= p_cb->peer_i_key;
1655 p_cb->local_i_key = p_cb->peer_i_key;