/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/src/ |
H A D | net.c | 157 int bt_mesh_net_keys_create(struct bt_mesh_subnet_keys *keys, in bt_mesh_net_keys_create() argument 164 err = bt_mesh_k2(key, p, sizeof(p), &nid, keys->enc, keys->privacy); in bt_mesh_net_keys_create() 170 memcpy(keys->net, key, 16); in bt_mesh_net_keys_create() 172 keys->nid = nid; in bt_mesh_net_keys_create() 174 BT_DBG("NID 0x%02x EncKey %s", keys->nid, bt_hex(keys->enc, 16)); in bt_mesh_net_keys_create() 175 BT_DBG("PrivacyKey %s", bt_hex(keys->privacy, 16)); in bt_mesh_net_keys_create() 177 err = bt_mesh_k3(key, keys->net_id); in bt_mesh_net_keys_create() 183 BT_DBG("NetID %s", bt_hex(keys->net_id, 8)); in bt_mesh_net_keys_create() 186 err = bt_mesh_identity_key(key, keys->identity); in bt_mesh_net_keys_create() 192 BT_DBG("IdentityKey %s", bt_hex(keys->identity, 16)); in bt_mesh_net_keys_create() [all …]
|
H A D | settings.c | 25 /* Tracking of what storage changes are pending for App and Net Keys. We 28 * gets deleted its struct becomes invalid and may be reused for other keys. 350 memcpy(sub->keys[0].net, &key.val[0], 16); in net_key_set() 351 memcpy(sub->keys[1].net, &key.val[1], 16); in net_key_set() 371 memcpy(sub->keys[0].net, &key.val[0], 16); in net_key_set() 372 memcpy(sub->keys[1].net, &key.val[1], 16); in net_key_set() 433 memcpy(app->keys[0].val, key.val[0], 16); in app_key_set() 434 memcpy(app->keys[1].val, key.val[1], 16); in app_key_set() 436 bt_mesh_app_id(app->keys[0].val, &app->keys[0].id); in app_key_set() 437 bt_mesh_app_id(app->keys[1].val, &app->keys[1].id); in app_key_set() [all …]
|
H A D | beacon.c | 77 struct bt_mesh_subnet_keys *keys; in bt_mesh_beacon_create() local 82 keys = &sub->keys[1]; in bt_mesh_beacon_create() 84 keys = &sub->keys[0]; in bt_mesh_beacon_create() 90 net_buf_simple_add_mem(buf, keys->net_id, 8); in bt_mesh_beacon_create() 98 flags, bt_hex(keys->net_id, 8)); in bt_mesh_beacon_create()
|
H A D | cfg_srv.c | 324 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_bind() 326 if (model->keys[i] == key_idx) { in mod_bind() 331 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_bind() 332 if (model->keys[i] == BT_MESH_KEY_UNUSED) { in mod_bind() 333 model->keys[i] = key_idx; in mod_bind() 356 for (i = 0; i < ARRAY_SIZE(model->keys); i++) { in mod_unbind() 357 if (model->keys[i] != key_idx) { in mod_unbind() 361 model->keys[i] = BT_MESH_KEY_UNUSED; in mod_unbind() 394 struct bt_mesh_app_keys *keys; in app_key_set() local 416 keys = &key->keys[1]; in app_key_set() [all …]
|
H A D | transport.c | 466 key = app_key->keys[1].val; in bt_mesh_trans_send() 467 tx->aid = app_key->keys[1].id; in bt_mesh_trans_send() 469 key = app_key->keys[0].val; in bt_mesh_trans_send() 470 tx->aid = app_key->keys[0].id; in bt_mesh_trans_send() 626 struct bt_mesh_app_keys *keys; in sdu_recv() local 634 keys = &key->keys[1]; in sdu_recv() 636 keys = &key->keys[0]; in sdu_recv() 640 if (AID(&hdr) != keys->id) { in sdu_recv() 645 err = bt_mesh_app_decrypt(keys->val, false, aszmic, buf, in sdu_recv()
|
H A D | net.h | 41 } keys[2]; member 75 } keys[2]; member 296 int bt_mesh_net_keys_create(struct bt_mesh_subnet_keys *keys,
|
H A D | testing.c | 115 bt_hex(sub->keys[sub->kr_flag].net, 16)); in bt_test_print_credentials() 133 bt_hex(app_key->keys[sub->kr_flag].val, 16)); in bt_test_print_credentials()
|
H A D | access.c | 289 for (i = 0; i < ARRAY_SIZE(mod->keys); i++) { in mod_init() 290 mod->keys[i] = BT_MESH_KEY_UNUSED; in mod_init() 427 for (i = 0; i < ARRAY_SIZE(mod->keys); i++) { in model_has_key() 428 if (mod->keys[i] == key) { in model_has_key()
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/frontends/mconf/ |
H A D | mconf.c | 41 "keys and press <Y> to build it in, <M> to make it a module or\n" 49 "o Use the Up/Down arrow keys (cursor keys) to highlight the item you\n" 57 " You may also use the <PAGE UP> and <PAGE DOWN> keys to scroll\n" 60 "o To exit a menu use the cursor keys to highlight the <Exit> button\n" 67 " Also, the <TAB> and cursor keys will cycle between <Select>,\n" 70 "o To get help with an item, use the cursor keys to highlight <Help>\n" 80 "o Use the cursor keys to select the option you wish to set and press\n" 86 "o To see available help for the item, use the cursor keys to highlight\n" 91 " Also, the <TAB> and cursor keys will cycle between <Select> and\n" 101 "o For help, use the <TAB> or cursor keys to highlight the help option\n" [all …]
|
/nrf52832-nimble/packages/NimBLE-latest/docs/ |
H A D | ble_sec.rst | 8 - **Pairing**: The process for creating one or more shared secret keys. 12 - **Bonding**: The act of storing the keys created during pairing for 16 same keys (verify device identity)
|
/nrf52832-nimble/rt-thread/components/lwp/ |
H A D | SConscript | 11 if rtconfig.PLATFORM in platform_file.keys(): # support platforms 12 if rtconfig.ARCH in support_arch.keys() and rtconfig.CPU in support_arch[rtconfig.ARCH]:
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/src/ |
H A D | ble_sm.c | 449 struct ble_sm_keys *keys, in ble_sm_fill_store_value() argument 456 if (keys->ediv_rand_valid && keys->ltk_valid) { in ble_sm_fill_store_value() 457 value_sec->key_size = keys->key_size; in ble_sm_fill_store_value() 458 value_sec->ediv = keys->ediv; in ble_sm_fill_store_value() 459 value_sec->rand_num = keys->rand_val; in ble_sm_fill_store_value() 461 memcpy(value_sec->ltk, keys->ltk, sizeof value_sec->ltk); in ble_sm_fill_store_value() 468 if (keys->irk_valid) { in ble_sm_fill_store_value() 469 memcpy(value_sec->irk, keys->irk, sizeof value_sec->irk); in ble_sm_fill_store_value() 473 if (keys->csrk_valid) { in ble_sm_fill_store_value() 474 memcpy(value_sec->csrk, keys->csrk, sizeof value_sec->csrk); in ble_sm_fill_store_value() [all …]
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/libs/lxdialog/ |
H A D | textbox.c | 53 * keys is a null-terminated array 57 int initial_width, int *keys, int *_vscroll, int *_hscroll, in dialog_textbox() argument 250 for (i = 0; keys[i]; i++) { in dialog_textbox() 251 if (key == keys[i]) { in dialog_textbox()
|
H A D | dialog.h | 239 int initial_width, int *keys, int *_vscroll, int *_hscroll, 249 * This is the base for fictitious keys, which activate 252 * Mouse-generated keys are the following:
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/include/mesh/ |
H A D | access.h | 174 .keys = { [0 ... (CONFIG_BT_MESH_MODEL_KEY_COUNT - 1)] = \ 188 .keys = { [0 ... (CONFIG_BT_MESH_MODEL_KEY_COUNT - 1)] = \ 335 u16_t keys[CONFIG_BT_MESH_MODEL_KEY_COUNT]; member 363 * @param ctx Message context, includes keys, TTL, etc.
|
/nrf52832-nimble/packages/NimBLE-latest/ext/tinycrypt/include/tinycrypt/ |
H A D | aes.h | 73 * @note This implementation skips the additional steps required for keys 104 * @warning This routine skips the additional steps required for keys larger
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.0.2/src/netif/ppp/ |
H A D | mppe.c | 98 * don't have to keep multiple copies of keys. 118 /* Save keys. */ in mppe_init() 152 ("%s[%d]: keys: master: %s initial session: %s\n", in mppe_init()
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/netif/ppp/ |
H A D | mppe.c | 98 * don't have to keep multiple copies of keys. 118 /* Save keys. */ in mppe_init() 152 ("%s[%d]: keys: master: %s initial session: %s\n", in mppe_init()
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/frontends/nconf/ |
H A D | nconf.c | 45 "To change any of these features, highlight it with the movement keys\n" 53 "Menu navigation keys\n" 84 "Use the movement keys listed above to select the option you wish to set\n" 96 "Use movement keys as listed in table above.\n" 138 "Use the following keys to navigate the menus:\n" 147 "You do not have function keys support.\n" 155 "Use the following keys to navigate the menus:\n"
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/include/lwip/apps/ |
H A D | altcp_tls_mbedtls_opts.h | 59 * ATTENTION: Using a session cache can lower security by reusing keys!
|
/nrf52832-nimble/rt-thread/components/net/lwip-2.1.0/src/core/ |
H A D | altcp.c | 48 * state may hold certificates or keys). This way, the application does not 73 * or server connections (e.g. certificates and private keys). 82 * private keys can be parsed by 'mbedtls_pk_parse_key()'.
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/ |
H A D | syscfg.yml | 154 A bitmap indicating which keys to distribute during pairing. The 163 A bitmap indicating which keys to accept during pairing. The
|
/nrf52832-nimble/rt-thread/tools/kconfig-frontends/utils/ |
H A D | kconfig-diff | 127 new = sorted(b.keys())
|
/nrf52832-nimble/packages/NimBLE-latest/nimble/host/mesh/ |
H A D | syscfg.yml | 74 This option specifies how many application keys the device can 80 This option specifies how many application keys each model can
|
/nrf52832-nimble/packages/NimBLE-latest/ext/tinycrypt/documentation/ |
H A D | tinycrypt.rst | 159 application is running in a constrained environment. AES-256 requires keys 266 * Construct keys (HMAC-SHA256);
|