Home
last modified time | relevance | path

Searched refs:p_key (Results 1 – 10 of 10) sorted by relevance

/AliOS-Things-master/components/kv/src/
A Dkv_cli.c18 char *p_key = NULL; in __item_print_cb() local
21 p_key = (char *)kv_malloc(item->hdr.key_len + 1); in __item_print_cb()
22 if (!p_key) { in __item_print_cb()
26 memset(p_key, 0, item->hdr.key_len + 1); in __item_print_cb()
28 kv_flash_read(off, p_key, item->hdr.key_len); in __item_print_cb()
32 kv_free(p_key); in __item_print_cb()
40 cli_printf("%s = %s\r\n", p_key, p_val); in __item_print_cb()
41 kv_free(p_key); in __item_print_cb()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dsettings.h16 void bt_mesh_store_subnet(struct bt_mesh_subnet *sub, bool p_key);
17 void bt_mesh_store_app_key(struct bt_mesh_app_key *key, bool p_key);
25 void bt_mesh_clear_subnet(struct bt_mesh_subnet *sub, bool p_key);
26 void bt_mesh_clear_app_key(struct bt_mesh_app_key *key, bool p_key);
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_triple.c24 genie_storage_status_e genie_triple_write(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key) in genie_triple_write() argument
32 memcpy(data + GENIE_TRIPLE_PID_SIZE, p_key, GENIE_TRIPLE_KEY_SIZE); in genie_triple_write()
46 if ( p_pid == NULL || p_mac == NULL || p_key == NULL) { in genie_triple_write()
72 ret = aos_kv_set("pro_secret", p_key, GENIE_TRIPLE_KEY_SIZE + 1, 1); in genie_triple_write()
82 genie_storage_status_e genie_triple_read(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key) in genie_triple_read() argument
110 memcpy(p_key, data + GENIE_TRIPLE_PID_SIZE, GENIE_TRIPLE_KEY_SIZE); in genie_triple_read()
150 memcpy(p_key, device_secret, GENIE_TRIPLE_KEY_SIZE); in genie_triple_read()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dsettings.c1271 if (p_key) { in clear_app_key()
1296 if (p_key) { in clear_net_key()
1326 if (p_key) { in store_net_key()
1355 if (p_key) { in store_app_key()
1691 if (update->p_key != p_key) { in key_update_find()
1718 store_net_key(sub, p_key); in bt_mesh_store_subnet()
1726 free_slot->p_key = p_key; in bt_mesh_store_subnet()
1746 store_app_key(key, p_key); in bt_mesh_store_app_key()
1754 free_slot->p_key = p_key; in bt_mesh_store_app_key()
1798 free_slot->p_key = p_key; in bt_mesh_clear_subnet()
[all …]
A Dprovisioner_main.c252 u8_t p_key[16] = { 0 }; in provisioner_upper_init() local
279 if (bt_rand(p_key, 16)) { in provisioner_upper_init()
863 u8_t p_key[16] = { 0 }; in bt_mesh_provisioner_local_app_key_add() local
902 if (bt_rand(p_key, 16)) { in bt_mesh_provisioner_local_app_key_add()
907 memcpy(p_key, app_key, 16); in bt_mesh_provisioner_local_app_key_add()
914 if (bt_mesh_app_id(p_key, &keys->id)) { in bt_mesh_provisioner_local_app_key_add()
920 memcpy(keys->val, p_key, 16); in bt_mesh_provisioner_local_app_key_add()
1026 u8_t p_key[16] = { 0 }; in bt_mesh_provisioner_local_net_key_add() local
1059 if (bt_rand(p_key, 16)) { in bt_mesh_provisioner_local_net_key_add()
1064 memcpy(p_key, net_key, 16); in bt_mesh_provisioner_local_net_key_add()
[all …]
/AliOS-Things-master/components/genie_service/core/inc/
A Dgenie_triple.h30 genie_storage_status_e genie_triple_write(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key);
39 genie_storage_status_e genie_triple_read(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key);
A Dgenie_storage.h145 genie_storage_status_e genie_triple_write(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key);
146 genie_storage_status_e genie_triple_read(uint32_t *p_pid, uint8_t *p_mac, uint8_t *p_key);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap/
A Dgap_bond_le.h236 T_GAP_CAUSE le_bond_get_display_key(uint8_t conn_id, uint32_t *p_key);
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/
A Dco_bt_defines.h2484 uint8_t p_key[PUB_KEY_192_LEN/2]; member
2490 uint8_t p_key[PUB_KEY_256_LEN/2]; member
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c58875 duk_hstring **p_key; local
58887 p_key = DUK_HOBJECT_E_GET_KEY_BASE(heap, h);
58894 key = p_key[n];

Completed in 264 milliseconds