Home
last modified time | relevance | path

Searched refs:pair_rsp (Results 1 – 4 of 4) sorted by relevance

/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_sm_lgcy.c61 struct ble_sm_pair_cmd *pair_req, *pair_rsp; in ble_sm_lgcy_io_action() local
63 pair_rsp = (struct ble_sm_pair_cmd *) &proc->pair_rsp[1]; in ble_sm_lgcy_io_action()
66 pair_rsp->oob_data_flag == BLE_SM_PAIR_OOB_YES) { in ble_sm_lgcy_io_action()
69 !(pair_rsp->authreq & BLE_SM_PAIR_AUTHREQ_MITM)) { in ble_sm_lgcy_io_action()
72 pair_rsp->io_cap >= BLE_SM_IO_CAP_RESERVED) { in ble_sm_lgcy_io_action()
75 *action = ble_sm_lgcy_init_ioa[pair_rsp->io_cap][pair_req->io_cap]; in ble_sm_lgcy_io_action()
77 *action = ble_sm_lgcy_resp_ioa[pair_rsp->io_cap][pair_req->io_cap]; in ble_sm_lgcy_io_action()
121 proc->pair_rsp, iat, rat, ia, ra, cmd->value); in ble_sm_lgcy_confirm_exec()
199 proc->pair_rsp, iat, rat, ia, ra, confirm_val); in ble_sm_lgcy_random_rx()
Dble_sm_sc.c96 struct ble_sm_pair_cmd *pair_req, *pair_rsp; in ble_sm_sc_io_action() local
98 pair_rsp = (struct ble_sm_pair_cmd *) &proc->pair_rsp[1]; in ble_sm_sc_io_action()
101 pair_rsp->oob_data_flag == BLE_SM_PAIR_OOB_YES) { in ble_sm_sc_io_action()
104 !(pair_rsp->authreq & BLE_SM_PAIR_AUTHREQ_MITM)) { in ble_sm_sc_io_action()
107 pair_rsp->io_cap >= BLE_SM_IO_CAP_RESERVED) { in ble_sm_sc_io_action()
110 *action = ble_sm_sc_init_ioa[pair_rsp->io_cap][pair_req->io_cap]; in ble_sm_sc_io_action()
112 *action = ble_sm_sc_resp_ioa[pair_rsp->io_cap][pair_req->io_cap]; in ble_sm_sc_io_action()
641 struct ble_sm_pair_cmd *pair_rsp; in ble_sm_sc_dhkey_check_exec() local
642 pair_rsp = (struct ble_sm_pair_cmd *) &proc->pair_rsp[1]; in ble_sm_sc_dhkey_check_exec()
643 iocap = &pair_rsp->io_cap; in ble_sm_sc_dhkey_check_exec()
[all …]
Dble_sm.c890 struct ble_sm_pair_cmd *pair_rsp; in ble_sm_key_dist() local
891 pair_rsp = (struct ble_sm_pair_cmd *) &proc->pair_rsp[1]; in ble_sm_key_dist()
892 *out_init_key_dist = pair_rsp->init_key_dist; in ble_sm_key_dist()
893 *out_resp_key_dist = pair_rsp->resp_key_dist; in ble_sm_key_dist()
1415 struct ble_sm_pair_cmd *pair_req, *pair_rsp; in ble_sm_pair_cfg() local
1422 pair_rsp = (struct ble_sm_pair_cmd *) &proc->pair_rsp[1]; in ble_sm_pair_cfg()
1425 (pair_rsp->authreq & BLE_SM_PAIR_AUTHREQ_SC)) { in ble_sm_pair_cfg()
1438 (pair_rsp->authreq & BLE_SM_PAIR_AUTHREQ_BOND)) { in ble_sm_pair_cfg()
1468 pair_rsp->max_enc_key_size); in ble_sm_pair_cfg()
1496 rsp = (void *)(proc->pair_rsp + 1); in ble_sm_pair_rsp_fill()
[all …]
Dble_sm_priv.h256 uint8_t pair_rsp[sizeof(struct ble_sm_hdr) + sizeof(struct ble_sm_pair_cmd)]; member