Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 32) sorted by relevance

12

/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_addr.c303 UINT8 rand[3]; in btm_ble_addr_resolvable() local
309 rand[0] = rpa[2]; in btm_ble_addr_resolvable()
310 rand[1] = rpa[1]; in btm_ble_addr_resolvable()
311 rand[2] = rpa[0]; in btm_ble_addr_resolvable()
315 &rand[0], 3, &output); in btm_ble_addr_resolvable()
317 rand[0] = rpa[5]; in btm_ble_addr_resolvable()
318 rand[1] = rpa[4]; in btm_ble_addr_resolvable()
319 rand[2] = rpa[3]; in btm_ble_addr_resolvable()
321 if (!memcmp(output.param_buf, &rand[0], 3)) { in btm_ble_addr_resolvable()
347 UINT8 rand[3]; in btm_ble_match_random_bda() local
[all …]
Dbtm_ble.c1296 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN); in btm_sec_save_le_key()
1613 void btm_ble_ltk_request(UINT16 handle, UINT8 rand[8], UINT16 ediv) in btm_ble_ltk_request()
1623 memcpy(p_cb->enc_rand, rand, BT_OCTET8_LEN); in btm_ble_ltk_request()
1674 if (btsnd_hcic_ble_start_enc(p_rec->ble_hci_handle, p_rec->ble.keys.rand, in btm_ble_start_encrypt()
/hal_espressif-latest/components/spi_flash/sim/stubs/esp32/
Desp_random.c20 return (uint32_t)rand(); in esp_random()
/hal_espressif-latest/components/esp_hw_support/port/linux/
Desp_random.c26 return (rand() + INT32_MAX); in esp_random()
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_keys.c648 void smp_calculate_comfirm (tSMP_CB *p_cb, BT_OCTET16 rand, BD_ADDR bda) in smp_calculate_comfirm() argument
661 smp_xor_128(p1, rand); in smp_calculate_comfirm()
736 smp_debug_print_nbyte_little_endian ((UINT8 *)p_cb->rand, (const UINT8 *)"local rand", 16); in smp_generate_confirm()
737 smp_calculate_comfirm(p_cb, p_cb->rand, p_cb->pairing_bda); in smp_generate_confirm()
972 memcpy(p, p_cb->rand, BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
976 memcpy(&p[BT_OCTET8_LEN], p_cb->rand, BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key()
1212 smp_calculate_f4(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, p_cb->rand, 0, in smp_calculate_local_commitment()
1218 smp_calculate_f4(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, p_cb->rand, in smp_calculate_local_commitment()
1367 smp_calculate_g2(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, p_cb->rand, in smp_calculate_numeric_comparison_display_number()
1372 p_cb->rand); in smp_calculate_numeric_comparison_display_number()
[all …]
Dsmp_utils.c483 ARRAY_TO_STREAM (p, p_cb->rand, BT_OCTET16_LEN); in smp_build_rand_cmd()
1555 memset(ple_key.rand, 0, BT_OCTET8_LEN); in smp_save_secure_connections_long_term_key()
1586 p_na = p_cb->rand; in smp_calculate_f5_mackey_and_long_term_key()
1592 p_nb = p_cb->rand; in smp_calculate_f5_mackey_and_long_term_key()
Dsmp_act.c1036 STREAM_TO_ARRAY(le_key.rand, p, BT_OCTET8_LEN ); in smp_proc_master_id()
1943 memcpy(p_cb->sc_oob_data.loc_oob_data.randomizer, p_cb->rand, in smp_set_local_oob_random_commitment()
/hal_espressif-latest/components/esp_rom/esp32c3/ld/
Desp32c3.rom.newlib.ld77 PROVIDE ( rand = 0x4000043c ); symbol
/hal_espressif-latest/components/esp_rom/esp32s3/ld/
Desp32s3.rom.newlib.ld80 PROVIDE ( rand = 0x400014a0 ); symbol
/hal_espressif-latest/components/esp_rom/esp32h2/ld/
Desp32h2.rom.newlib.ld80 rand = 0x40000588; symbol
/hal_espressif-latest/components/esp_rom/esp32c6/ld/
Desp32c6.rom.newlib.ld84 PROVIDE ( rand = 0x40000590 ); symbol
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dprov.c124 uint8_t rand[16]; /* Local Random */ member
867 if (bt_mesh_rand(link.rand, 16)) { in send_confirm()
873 BT_DBG("LocalRandom: %s", bt_hex(link.rand, 16)); in send_confirm()
879 if (bt_mesh_prov_conf(link.conf_key, link.rand, link.auth, in send_confirm()
1154 net_buf_simple_add_mem(&rnd, link.rand, 16); in prov_random()
1161 if (bt_mesh_prov_salt(link.conf_salt, data, link.rand, in prov_random()
Dcrypto.h161 int bt_mesh_prov_conf(const uint8_t conf_key[16], const uint8_t rand[16],
Dcrypto.c826 int bt_mesh_prov_conf(const uint8_t conf_key[16], const uint8_t rand[16], in bt_mesh_prov_conf()
829 struct bt_mesh_sg sg[] = { { rand, 16 }, { auth, 16 } }; in bt_mesh_prov_conf()
832 BT_DBG("RandomDevice %s", bt_hex(rand, 16)); in bt_mesh_prov_conf()
Dprovisioner_prov.c152 uint8_t *rand; /* Local Random */ member
1250 PROV_FREE_MEM(idx, rand);
2036 link[idx].rand = bt_mesh_calloc(PROV_RANDOM_SIZE);
2037 if (!link[idx].rand) {
2042 if (bt_mesh_rand(link[idx].rand, PROV_RANDOM_SIZE)) {
2047 BT_DBG("LocalRandom: %s", bt_hex(link[idx].rand, 16));
2053 if (bt_mesh_prov_conf(link[idx].conf_key, link[idx].rand,
2368 net_buf_simple_add_mem(&buf, link[idx].rand, 16);
2560 if (!memcmp(data, link[idx].rand, 16)) {
2595 if (bt_mesh_prov_salt(link[idx].conf_salt, link[idx].rand, data,
/hal_espressif-latest/components/esp_rom/esp32c2/ld/
Desp32c2.rom.newlib.ld138 PROVIDE ( rand = 0x40000570 ); symbol
/hal_espressif-latest/components/esp_rom/esp32/ld/
Desp32.rom.newlib-funcs.ld83 PROVIDE ( rand = 0x40001058 ); symbol
/hal_espressif-latest/components/newlib/
Desp32-spiram-rom-functions-c.lf140 lib_a-rand (noflash)
/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/include/
Dbtm_ble_int.h431 void btm_ble_ltk_request(UINT16 handle, UINT8 rand[8], UINT16 ediv);
Dbtm_int.h532 BT_OCTET8 rand; /* random vector for LTK generation */ member
/hal_espressif-latest/tools/esptool_py/flasher_stub/ld/
Drom_8266.ld202 PROVIDE ( rand = 0x40000600 ); symbol
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h285 BT_OCTET16 rand; /* for SC this is local nonce */ member
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dhcimsgs.h857 UINT8 rand[HCIC_BLE_RAND_DI_SIZE],
/hal_espressif-latest/components/bt/host/bluedroid/stack/hcic/
Dhciblecmds.c615 BOOLEAN btsnd_hcic_ble_start_enc (UINT16 handle, UINT8 rand[HCIC_BLE_RAND_DI_SIZE], in btsnd_hcic_ble_start_enc()
634 ARRAY_TO_STREAM (pp, rand, HCIC_BLE_RAND_DI_SIZE); in btsnd_hcic_ble_start_enc()
/hal_espressif-latest/components/bt/host/bluedroid/api/include/api/
Desp_gap_ble_api.h540 esp_bt_octet8_t rand; /*!< The random number*/ member

12