Home
last modified time | relevance | path

Searched refs:peer_keys (Results 1 – 3 of 3) sorted by relevance

/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_sm.c490 if (proc->peer_keys.addr_valid) { in ble_sm_persist_keys()
491 peer_addr.type = proc->peer_keys.addr_type; in ble_sm_persist_keys()
492 memcpy_s(peer_addr.val, sizeof(peer_addr.val), proc->peer_keys.addr, sizeof peer_addr.val); in ble_sm_persist_keys()
532 ble_sm_fill_store_value(&peer_addr, authenticated, sc, &proc->peer_keys, in ble_sm_persist_keys()
2026 proc->peer_keys.ltk_valid = 1; in ble_sm_enc_info_rx()
2027 memcpy_s(proc->peer_keys.ltk, sizeof(proc->peer_keys.ltk), cmd->ltk, 16); // 16:size in ble_sm_enc_info_rx()
2028 proc->peer_keys.key_size = proc->key_size; in ble_sm_enc_info_rx()
2054 proc->peer_keys.ediv_rand_valid = 1; in ble_sm_master_id_rx()
2055 proc->peer_keys.ediv = le16toh(cmd->ediv); in ble_sm_master_id_rx()
2056 proc->peer_keys.rand_val = le64toh(cmd->rand_val); in ble_sm_master_id_rx()
[all …]
Dble_sm_sc.c466 … memcpy_s(proc->peer_keys.ltk, sizeof(proc->peer_keys.ltk), proc->ltk, sizeof proc->peer_keys.ltk); in ble_sm_sc_random_rx()
467 proc->peer_keys.ltk_valid = 1; in ble_sm_sc_random_rx()
468 proc->peer_keys.ediv = 0; in ble_sm_sc_random_rx()
469 proc->peer_keys.rand_val = 0; in ble_sm_sc_random_rx()
470 proc->peer_keys.ediv_rand_valid = 1; in ble_sm_sc_random_rx()
471 proc->peer_keys.key_size = proc->key_size; in ble_sm_sc_random_rx()
Dble_sm_priv.h263 struct ble_sm_keys peer_keys; member