/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/ |
D | net.c | 156 int bt_mesh_net_keys_create(struct bt_mesh_subnet_keys *keys, in bt_mesh_net_keys_create() argument 162 err = bt_mesh_k2(key, p, sizeof(p), &nid, keys->enc, keys->privacy); in bt_mesh_net_keys_create() 168 memcpy(keys->net, key, 16); // 16:size in bt_mesh_net_keys_create() 169 keys->nid = nid; in bt_mesh_net_keys_create() 170 BT_DBG("NID 0x%02x EncKey %s", keys->nid, bt_hex(keys->enc, 16)); // 16:len in bt_mesh_net_keys_create() 171 BT_DBG("PrivacyKey %s", bt_hex(keys->privacy, 16)); // 16:len in bt_mesh_net_keys_create() 172 err = bt_mesh_k3(key, keys->net_id); in bt_mesh_net_keys_create() 178 BT_DBG("NetID %s", bt_hex(keys->net_id, 8)); // 8:len in bt_mesh_net_keys_create() 180 err = bt_mesh_identity_key(key, keys->identity); in bt_mesh_net_keys_create() 186 BT_DBG("IdentityKey %s", bt_hex(keys->identity, 16)); // 16:len in bt_mesh_net_keys_create() [all …]
|
D | settings.c | 361 memcpy(sub->keys[0].net, &key.val[0], 16); // 16:byte alignment in net_key_set() 362 memcpy(sub->keys[1].net, &key.val[1], 16); // 16:byte alignment in net_key_set() 381 memcpy(sub->keys[0].net, &key.val[0], 16); // 16:byte alignment in net_key_set() 382 memcpy(sub->keys[1].net, &key.val[1], 16); // 16:byte alignment in net_key_set() 431 memcpy(app->keys[0].val, key.val[0], 16); // 16:byte alignment in app_key_set() 432 memcpy(app->keys[1].val, key.val[1], 16); // 16:byte alignment in app_key_set() 433 bt_mesh_app_id(app->keys[0].val, &app->keys[0].id); in app_key_set() 434 bt_mesh_app_id(app->keys[1].val, &app->keys[1].id); in app_key_set() 528 for (i = 0; i < ARRAY_SIZE(mod->keys); i++) { in mod_set_bind() 529 mod->keys[i] = BT_MESH_KEY_UNUSED; in mod_set_bind() [all …]
|
D | beacon.c | 74 struct bt_mesh_subnet_keys *keys; in bt_mesh_beacon_create() local 78 keys = &sub->keys[1]; in bt_mesh_beacon_create() 80 keys = &sub->keys[0]; in bt_mesh_beacon_create() 85 net_buf_simple_add_mem(buf, keys->net_id, 8); // 8:byte alignment in bt_mesh_beacon_create() 90 flags, bt_hex(keys->net_id, 8)); // 8:byte alignment in bt_mesh_beacon_create()
|
D | cfg_srv.c | 240 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_bind() 242 if (model->keys[i] == key_idx) { in mod_bind() 247 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_bind() 248 if (model->keys[i] == BT_MESH_KEY_UNUSED) { in mod_bind() 249 model->keys[i] = key_idx; in mod_bind() 270 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_unbind() 271 if (model->keys[i] != key_idx) { in mod_unbind() 275 model->keys[i] = BT_MESH_KEY_UNUSED; in mod_unbind() 308 struct bt_mesh_app_keys *keys; in app_key_set() local 328 keys = &key->keys[1]; in app_key_set() [all …]
|
D | net.h | 41 } keys[2]; member 82 } keys[2]; member 321 int bt_mesh_net_keys_create(struct bt_mesh_subnet_keys *keys,
|
D | transport.c | 659 struct bt_mesh_app_keys *keys; in sdu_recv() local 667 keys = &key->keys[1]; in sdu_recv() 669 keys = &key->keys[0]; in sdu_recv() 673 if (AID(&hdr) != keys->id) { in sdu_recv() 678 err = bt_mesh_app_decrypt(keys->val, false, aszmic, buf, in sdu_recv() 1603 *key = app_key->keys[1].val; in bt_mesh_app_key_get() 1604 *aid = app_key->keys[1].id; in bt_mesh_app_key_get() 1606 *key = app_key->keys[0].val; in bt_mesh_app_key_get() 1607 *aid = app_key->keys[0].id; in bt_mesh_app_key_get()
|
D | testing.c | 125 bt_hex(sub->keys[sub->kr_flag].net, 16)); // 16:len in bt_test_print_credentials() 141 bt_hex(app_key->keys[sub->kr_flag].val, 16)); // 16:len in bt_test_print_credentials()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/btm/ |
D | btm_ble.c | 1135 p_dev_rec->ble.keys.local_counter++; in btm_ble_increment_sign_ctr() 1137 p_dev_rec->ble.keys.counter++; in btm_ble_increment_sign_ctr() 1141 p_dev_rec->ble.keys.local_counter, in btm_ble_increment_sign_ctr() 1142 p_dev_rec->ble.keys.counter); in btm_ble_increment_sign_ctr() 1196 if (p_dev_rec && p_dev_rec->ble.keys.div) { in btm_get_local_div() 1198 *p_div = p_dev_rec->ble.keys.div; in btm_get_local_div() 1237 memcpy(p_rec->ble.keys.pltk, p_keys->penc_key.ltk, BT_OCTET16_LEN); in btm_sec_save_le_key() 1238 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN); in btm_sec_save_le_key() 1239 p_rec->ble.keys.sec_level = p_keys->penc_key.sec_level; in btm_sec_save_le_key() 1240 p_rec->ble.keys.ediv = p_keys->penc_key.ediv; in btm_sec_save_le_key() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/build/ |
D | patch.py | 22 for git_path in patch_set.keys(): 36 if not check_gits_exit(patch_set.keys()): 43 for git_path in patch_set.keys(): 59 for git_path in source_set.keys():
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
D | common_env.py | 382 macro_val = list(macro_cfg.keys()) 389 macro_val = list(macro_cfg.keys()) 396 macro_val = list(macro_cfg.keys()) 430 macro_val = list(macro_cfg.keys()) 437 macro_val = list(macro_cfg.keys()) 495 if module in proj_environment[env_name].keys():
|
D | scons_utils.py | 189 if option in options.keys(): 198 if option in options.keys(): 204 if option in options.keys(): 220 if option in usr_config.keys(): 222 elif option in sys_config.keys():
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/build/scripts/ |
D | scons_utils.py | 189 if option in options.keys(): 198 if option in options.keys(): 204 if option in options.keys(): 220 if option in usr_config.keys(): 222 elif option in sys_config.keys():
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-hdcp.c | 271 hdcp->keys = kmalloc(HDCP_KEY_SIZE, GFP_KERNEL); in hdcp_load_keys_cb() 272 if (!hdcp->keys) in hdcp_load_keys_cb() 277 kfree(hdcp->keys); in hdcp_load_keys_cb() 284 memset(hdcp->keys, 0, HDCP_KEY_SIZE); in hdcp_load_keys_cb() 287 memcpy(hdcp->keys, hdcp_vendor_data, HDCP_KEY_SIZE); in hdcp_load_keys_cb() 302 if (!hdcp->keys) { in dw_hdmi_hdcp_load_key() 307 hdcp_keys = hdcp->keys; in dw_hdmi_hdcp_load_key() 732 kfree(hdcp->keys); in dw_hdmi_hdcp_remove()
|
D | dw-hdmi-hdcp.h | 42 struct hdcp_keys *keys; member
|
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-hdcp.c | 280 hdcp->keys = kmalloc(HDCP_KEY_SIZE, GFP_KERNEL); in hdcp_load_keys_cb() 281 if (!hdcp->keys) { in hdcp_load_keys_cb() 287 kfree(hdcp->keys); in hdcp_load_keys_cb() 294 memset(hdcp->keys, 0, HDCP_KEY_SIZE); in hdcp_load_keys_cb() 297 memcpy(hdcp->keys, hdcp_vendor_data, HDCP_KEY_SIZE); in hdcp_load_keys_cb() 311 if (!hdcp->keys) { in dw_hdmi_hdcp_load_key() 317 hdcp_keys = hdcp->keys; in dw_hdmi_hdcp_load_key() 717 kfree(hdcp->keys); in dw_hdmi_hdcp_remove()
|
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/bridge/ |
D | dw-hdmi-hdcp.c | 271 hdcp->keys = kmalloc(HDCP_KEY_SIZE, GFP_KERNEL); in hdcp_load_keys_cb() 272 if (!hdcp->keys) in hdcp_load_keys_cb() 277 kfree(hdcp->keys); in hdcp_load_keys_cb() 284 memset(hdcp->keys, 0, HDCP_KEY_SIZE); in hdcp_load_keys_cb() 287 memcpy(hdcp->keys, hdcp_vendor_data, HDCP_KEY_SIZE); in hdcp_load_keys_cb() 302 if (!hdcp->keys) { in dw_hdmi_hdcp_load_key() 307 hdcp_keys = hdcp->keys; in dw_hdmi_hdcp_load_key() 732 kfree(hdcp->keys); in dw_hdmi_hdcp_remove()
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/umac/ |
D | key.c | 355 key = key_mtx_dereference(sdata->local, sdata->keys[idx]); in __ieee80211_set_default_key() 387 key = key_mtx_dereference(sdata->local, sdata->keys[idx]); in __ieee80211_set_default_mgmt_key() 480 rcu_assign_pointer(sdata->keys[idx], new); in ieee80211_key_replace() 795 old_key = key_mtx_dereference(sdata->local, sdata->keys[idx]); in ieee80211_key_link() 959 struct list_head *keys) in ieee80211_free_keys_iface() argument 973 list_add_tail(&key->list, keys); in ieee80211_free_keys_iface() 986 LIST_HEAD(keys); in ieee80211_free_keys() 992 ieee80211_free_keys_iface(sdata, &keys); in ieee80211_free_keys() 996 ieee80211_free_keys_iface(vlan, &keys); in ieee80211_free_keys() 999 if (!list_empty(&keys) || force_synchronize) in ieee80211_free_keys() [all …]
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/include/mesh/ |
D | access.h | 246 .keys = { [0 ... (CONFIG_BT_MESH_MODEL_KEY_COUNT - 1)] = \ 272 .keys = { [0 ... (CONFIG_BT_MESH_MODEL_KEY_COUNT - 1)] = \ 492 u16_t keys[CONFIG_BT_MESH_MODEL_KEY_COUNT]; member
|
/device/soc/amlogic/a311d/soc/amlogic/unifykey/ |
D | normal_key.c | 80 static LIST_HEAD(keys); 430 list_for_each_entry_safe(pos, n, &keys, node) in normalkey_deinit() 449 list_for_each_entry(pos, &keys, node) in normalkey_get() 509 list_add(&node->node, &keys); in normalkey_add() 642 list_add(&node->node, &keys); in normalkey_readfromblock() 676 list_for_each_entry(node, &keys, node) in normalkey_writetoblock()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/ |
D | MQTTPersistenceDefault.h | 31 int pstkeys(void* handle, char*** keys, int* nkeys);
|
D | MQTTClientPersistence.h | 186 typedef int (*Persistence_keys)(void* handle, char*** keys, int* nkeys);
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/lradc/ |
D | Kconfig | 14 Say Y here to enable the ADC keyboard, support 7 keys at most.
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
D | ssl_ticket.h | 66 mbedtls_ssl_ticket_key keys[2]; /*!< ticket protection keys */ member
|
/device/soc/rockchip/rk3588/kernel/include/linux/ |
D | dw-hdmi-hdcp.h | 42 struct hdcp_keys *keys; member
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-hdcp.h | 42 struct hdcp_keys *keys; member
|