Home
last modified time | relevance | path

Searched refs:keys (Results 1 – 25 of 86) sorted by relevance

1234

/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Dnet.c156 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 …]
Dsettings.c361 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 …]
Dbeacon.c74 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()
Dcfg_srv.c240 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 …]
Dnet.h41 } keys[2]; member
82 } keys[2]; member
321 int bt_mesh_net_keys_create(struct bt_mesh_subnet_keys *keys,
Dtransport.c659 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()
Dtesting.c125 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/
Dbtm_ble.c1135 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/
Dpatch.py22 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/
Dcommon_env.py382 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():
Dscons_utils.py189 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/
Dscons_utils.py189 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/
Ddw-hdmi-hdcp.c271 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()
Ddw-hdmi-hdcp.h42 struct hdcp_keys *keys; member
/device/soc/rockchip/common/vendor/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-hdcp.c280 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/
Ddw-hdmi-hdcp.c271 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/
Dkey.c355 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/
Daccess.h246 .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/
Dnormal_key.c80 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/
DMQTTPersistenceDefault.h31 int pstkeys(void* handle, char*** keys, int* nkeys);
DMQTTClientPersistence.h186 typedef int (*Persistence_keys)(void* handle, char*** keys, int* nkeys);
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/lradc/
DKconfig14 Say Y here to enable the ADC keyboard, support 7 keys at most.
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
Dssl_ticket.h66 mbedtls_ssl_ticket_key keys[2]; /*!< ticket protection keys */ member
/device/soc/rockchip/rk3588/kernel/include/linux/
Ddw-hdmi-hdcp.h42 struct hdcp_keys *keys; member
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi-hdcp.h42 struct hdcp_keys *keys; member

1234