/system/bt/btif/include/ |
D | btif_storage.h | 154 LinkKey link_key, uint8_t key_type, 256 uint8_t key_type, 259 uint8_t key_type, 264 uint8_t key_type); 268 bt_status_t btif_storage_get_ble_local_key(uint8_t key_type,
|
/system/bt/stack/btm/ |
D | btm_ble.cc | 132 tBTM_LE_KEY_TYPE key_type) { in BTM_SecAddBleKey() argument 137 (key_type != BTM_LE_KEY_PENC && key_type != BTM_LE_KEY_PID && in BTM_SecAddBleKey() 138 key_type != BTM_LE_KEY_PCSRK && key_type != BTM_LE_KEY_LENC && in BTM_SecAddBleKey() 139 key_type != BTM_LE_KEY_LCSRK && key_type != BTM_LE_KEY_LID)) { in BTM_SecAddBleKey() 142 << ", Type: " << key_type; in BTM_SecAddBleKey() 146 VLOG(1) << __func__ << " BDA: " << bd_addr << ", Type: " << key_type; in BTM_SecAddBleKey() 148 btm_sec_save_le_key(bd_addr, key_type, p_le_key, false); in BTM_SecAddBleKey() 151 if (key_type == BTM_LE_KEY_PID || key_type == BTM_LE_KEY_LID) in BTM_SecAddBleKey() 172 void BTM_BleLoadLocalKeys(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key) { in BTM_BleLoadLocalKeys() argument 176 switch (key_type) { in BTM_BleLoadLocalKeys() [all …]
|
D | btm_dev.cc | 64 uint8_t key_type, tBTM_IO_CAP io_cap, in BTM_SecAddDevice() argument 66 BTM_TRACE_API("%s: link key type:%x", __func__, key_type); in BTM_SecAddDevice() 127 p_dev_rec->link_key_type = key_type; in BTM_SecAddDevice() 130 if (pin_length >= 16 || key_type == BTM_LKEY_TYPE_AUTH_COMB || in BTM_SecAddDevice() 131 key_type == BTM_LKEY_TYPE_AUTH_COMB_P_256) { in BTM_SecAddDevice() 140 if (key_type < BTM_MAX_PRE_SM4_LKEY_TYPE) in BTM_SecAddDevice()
|
D | btm_ble_addr.cc | 203 (p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) { in btm_ble_addr_resolvable() 227 !(p_dev_rec->ble.key_type & BTM_LE_KEY_PID)) in btm_ble_match_random_bda()
|
D | btm_ble_int.h | 110 tBTM_LE_KEY_TYPE key_type,
|
D | btm_ble_privacy.cc | 697 if ((p_dev_rec->ble.key_type & (BTM_LE_KEY_PID | BTM_LE_KEY_LID)) == 0) { in btm_ble_resolving_list_load_dev() 702 } else if ((p_dev_rec->ble.key_type & BTM_LE_KEY_PID) == 0) { in btm_ble_resolving_list_load_dev()
|
D | btm_sec.cc | 3998 p_dev_rec->ble.key_type = BTM_LE_KEY_NONE; in btm_sec_encrypt_change() 4596 const Octet16& link_key, uint8_t key_type) { in btm_sec_link_key_notification() argument 4601 VLOG(2) << __func__ << " BDA: " << p_bda << ", TYPE: " << +key_type; in btm_sec_link_key_notification() 4603 if ((key_type >= BTM_LTK_DERIVED_LKEY_OFFSET + BTM_LKEY_TYPE_COMBINATION) && in btm_sec_link_key_notification() 4604 (key_type <= in btm_sec_link_key_notification() 4607 key_type -= BTM_LTK_DERIVED_LKEY_OFFSET; in btm_sec_link_key_notification() 4612 if (key_type != BTM_LKEY_TYPE_CHANGED_COMB) in btm_sec_link_key_notification() 4613 p_dev_rec->link_key_type = key_type; in btm_sec_link_key_notification() 4665 VLOG(2) << __func__ << " Delayed BDA: " << p_bda << " Type:" << +key_type; in btm_sec_link_key_notification() 5861 p_dev_rec->ble.key_type = BTM_LE_KEY_NONE; in btm_sec_clear_ble_keys() [all …]
|
D | btm_int.h | 254 uint8_t key_type);
|
/system/keymaster/android_keymaster/ |
D | operation.cpp | 68 KeyType key_type = registry_key(); in is_public_key_operation() local 70 if (!is_public_key_algorithm(key_type.algorithm)) in is_public_key_operation() 73 switch (key_type.purpose) { in is_public_key_operation()
|
/system/bt/btif/src/ |
D | btif_storage.cc | 498 static void btif_read_le_key(const uint8_t key_type, const size_t key_len, in btif_read_le_key() argument 508 if (btif_storage_get_ble_bonding_key(&bd_addr, key_type, (uint8_t*)&key, in btif_read_le_key() 516 BTIF_TRACE_DEBUG("%s() Adding key type %d for %s", __func__, key_type, in btif_read_le_key() 518 BTA_DmAddBleKey(bd_addr, &key, key_type); in btif_read_le_key() 820 LinkKey link_key, uint8_t key_type, in btif_storage_add_bonded_device() argument 823 int ret = btif_config_set_int(bdstr, "LinkKeyType", (int)key_type); in btif_storage_add_bonded_device() 1058 uint8_t key_type, in btif_storage_add_ble_bonding_key() argument 1061 switch (key_type) { in btif_storage_add_ble_bonding_key() 1100 uint8_t key_type, in btif_storage_get_ble_bonding_key() argument 1104 switch (key_type) { in btif_storage_get_ble_bonding_key() [all …]
|
D | btif_dm.cc | 1052 if ((p_auth_cmpl->key_type < HCI_LKEY_TYPE_DEBUG_COMB) || in btif_dm_auth_cmpl_evt() 1053 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB) || in btif_dm_auth_cmpl_evt() 1054 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_CHANGED_COMB) || in btif_dm_auth_cmpl_evt() 1055 (p_auth_cmpl->key_type == HCI_LKEY_TYPE_AUTH_COMB_P_256) || in btif_dm_auth_cmpl_evt() 1059 __func__, p_auth_cmpl->key_type, pairing_cb.bond_type); in btif_dm_auth_cmpl_evt() 1061 p_auth_cmpl->key_type, in btif_dm_auth_cmpl_evt() 1067 __func__, p_auth_cmpl->key_type, pairing_cb.bond_type); in btif_dm_auth_cmpl_evt() 1739 p_data->ble_key.key_type); in btif_dm_upstreams_evt() 1754 p_data->ble_key.key_type); in btif_dm_upstreams_evt() 1758 switch (p_data->ble_key.key_type) { in btif_dm_upstreams_evt() [all …]
|
/system/core/libkeyutils/ |
D | mini_keyctl_utils.cpp | 75 std::string key_type = tokens[7]; in GetKeyringId() local 80 if (key_type != "keyring" || key_desc_prefix != key_desc_pattern) { in GetKeyringId()
|
/system/bt/bta/dm/ |
D | bta_dm_api.cc | 301 bool is_trusted, uint8_t key_type, tBTA_IO_CAP io_cap, in BTA_DmAddDevice() argument 311 msg->key_type = key_type; in BTA_DmAddDevice() 443 tBTA_LE_KEY_TYPE key_type) { in BTA_DmAddBleKey() argument 445 FROM_HERE, base::Bind(bta_dm_add_blekey, bd_addr, *p_le_key, key_type)); in BTA_DmAddBleKey()
|
D | bta_dm_int.h | 156 uint8_t key_type; member 497 tBTA_LE_KEY_TYPE key_type);
|
D | bta_dm_act.cc | 77 const LinkKey& key, uint8_t key_type); 115 static void bta_dm_ble_id_key_cback(uint8_t key_type, 748 trusted_services_mask, p_lc, msg->key_type, msg->io_cap, in bta_dm_add_device() 2381 uint8_t key_type) { in bta_dm_new_link_key_cback() argument 2389 if (key_type != HCI_LKEY_TYPE_AMP_WIFI && key_type != HCI_LKEY_TYPE_AMP_UWB) { in bta_dm_new_link_key_cback() 2398 p_auth_cmpl->key_type = key_type; in bta_dm_new_link_key_cback() 3846 sec_event.ble_key.key_type = p_data->key.key_type; in bta_dm_ble_smp_cback() 3907 static void bta_dm_ble_id_key_cback(uint8_t key_type, in bta_dm_ble_id_key_cback() argument 3912 switch (key_type) { in bta_dm_ble_id_key_cback() 3918 evt = (key_type == BTM_BLE_KEY_TYPE_ID) ? BTA_DM_BLE_LOCAL_IR_EVT in bta_dm_ble_id_key_cback() [all …]
|
/system/bt/stack/smp/ |
D | smp_act.cc | 69 static void smp_update_key_mask(tSMP_CB* p_cb, uint8_t key_type, bool recv) { in smp_update_key_mask() argument 75 ((key_type == SMP_SEC_KEY_TYPE_ENC) || in smp_update_key_mask() 76 (key_type == SMP_SEC_KEY_TYPE_LK))) { in smp_update_key_mask() 79 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 80 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 83 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 85 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 88 p_cb->local_r_key &= ~key_type; in smp_update_key_mask() 90 p_cb->local_i_key &= ~key_type; in smp_update_key_mask() 1099 uint8_t key_type = p_data->key.key_type; in smp_proc_sl_key() local [all …]
|
D | smp_keys.cc | 140 key.key_type = SMP_KEY_TYPE_TK; in smp_proc_passkey() 398 key.key_type = SMP_KEY_TYPE_CFM; in smp_generate_confirm() 461 key.key_type = SMP_KEY_TYPE_CMP; in smp_generate_compare() 479 key.key_type = SMP_KEY_TYPE_STK; in smp_process_stk() 500 key.key_type = SMP_KEY_TYPE_LTK; in smp_process_ediv() 921 key.key_type = SMP_KEY_TYPE_PEER_DHK_CHCK; in smp_calculate_peer_dhkey_check()
|
D | smp_api.cc | 413 key.key_type = SMP_KEY_TYPE_TK; in SMP_OobDataReply()
|
/system/bt/stack/include/ |
D | btm_ble_api.h | 76 tBTM_LE_KEY_TYPE key_type); 361 extern void BTM_BleLoadLocalKeys(uint8_t key_type, tBTM_BLE_LOCAL_KEYS* p_key);
|
D | btm_api_types.h | 1336 const LinkKey& key, uint8_t key_type); 1680 tBTM_LE_KEY_TYPE key_type; member 1720 typedef void(tBTM_LE_KEY_CALLBACK)(uint8_t key_type,
|
/system/bt/stack/gatt/ |
D | gatt_auth.cc | 279 uint8_t key_type; in gatt_determine_sec_act() local 325 btm_ble_get_enc_key_type(p_tcb->peer_bda, &key_type); in gatt_determine_sec_act() 327 if ((key_type & BTM_LE_KEY_LCSRK) && in gatt_determine_sec_act()
|
/system/bt/bta/include/ |
D | bta_api.h | 504 tBTM_LE_KEY_TYPE key_type; member 514 uint8_t key_type; /* The type of Link Key */ member 1292 uint8_t key_type, tBTA_IO_CAP io_cap, 1453 tBTA_LE_KEY_TYPE key_type);
|
/system/libvintf/include/vintf/ |
D | MapValueIterator.h | 29 using K = typename Map::key_type;
|
/system/core/libutils/include/utils/ |
D | KeyedVector.h | 39 typedef KEY key_type; typedef
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.h | 409 const keymaster_keypair_t key_type, const void* key_params, in counting_generate_keypair() 412 int result = device(dev)->generate_keypair(device(dev), key_type, key_params, key_blob, in counting_generate_keypair()
|