/system/bt/stack/btm/ |
D | btm_ble_addr.c | 305 UINT8 rand[3]; in btm_ble_addr_resolvable() local 312 rand[0] = rpa[2]; in btm_ble_addr_resolvable() 313 rand[1] = rpa[1]; in btm_ble_addr_resolvable() 314 rand[2] = rpa[0]; in btm_ble_addr_resolvable() 318 &rand[0], 3, &output); in btm_ble_addr_resolvable() 320 rand[0] = rpa[5]; in btm_ble_addr_resolvable() 321 rand[1] = rpa[4]; in btm_ble_addr_resolvable() 322 rand[2] = rpa[3]; in btm_ble_addr_resolvable() 324 if (!memcmp(output.param_buf, &rand[0], 3)) in btm_ble_addr_resolvable() 350 UINT8 rand[3]; in btm_ble_match_random_bda() local [all …]
|
D | btm_ble.c | 1038 memcpy(p_rec->ble.keys.rand, p_keys->penc_key.rand, BT_OCTET8_LEN); in btm_sec_save_le_key() 1350 void btm_ble_ltk_request(UINT16 handle, UINT8 rand[8], UINT16 ediv) in btm_ble_ltk_request() 1360 memcpy(p_cb->enc_rand, rand, BT_OCTET8_LEN); in btm_ble_ltk_request() 1410 if (btsnd_hcic_ble_start_enc(p_rec->ble_hci_handle, p_rec->ble.keys.rand, in btm_ble_start_encrypt()
|
D | btm_ble_int.h | 386 extern void btm_ble_ltk_request(UINT16 handle, UINT8 rand[8], UINT16 ediv);
|
D | btm_int.h | 454 BT_OCTET8 rand; /* random vector for LTK generation */ member
|
/system/bt/stack/smp/ |
D | smp_keys.c | 619 void smp_calculate_comfirm (tSMP_CB *p_cb, BT_OCTET16 rand, BD_ADDR bda) in smp_calculate_comfirm() argument 632 smp_xor_128(p1, rand); in smp_calculate_comfirm() 713 smp_debug_print_nbyte_little_endian ((UINT8 *)p_cb->rand, (const UINT8 *)"local rand", 16); in smp_generate_confirm() 714 smp_calculate_comfirm(p_cb, p_cb->rand, p_cb->pairing_bda); in smp_generate_confirm() 953 memcpy(p, p_cb->rand, BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key() 959 memcpy(&p[BT_OCTET8_LEN], p_cb->rand, BT_OCTET8_LEN); in smp_calculate_legacy_short_term_key() 1173 smp_calculate_f4(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, p_cb->rand, 0, in smp_calculate_local_commitment() 1179 smp_calculate_f4(p_cb->loc_publ_key.x, p_cb->peer_publ_key.x, p_cb->rand, in smp_calculate_local_commitment() 1329 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() 1336 p_cb->rand); in smp_calculate_numeric_comparison_display_number() [all …]
|
D | smp_utils.c | 455 ARRAY_TO_STREAM (p, p_cb->rand, BT_OCTET16_LEN); in smp_build_rand_cmd() 1481 memset(ple_key.rand, 0, BT_OCTET8_LEN); in smp_save_secure_connections_long_term_key() 1513 p_na = p_cb->rand; in smp_calculate_f5_mackey_and_long_term_key() 1521 p_nb = p_cb->rand; in smp_calculate_f5_mackey_and_long_term_key()
|
D | smp_int.h | 291 BT_OCTET16 rand; /* for SC this is local nonce */ member
|
D | smp_act.c | 974 STREAM_TO_ARRAY(le_key.rand, p, BT_OCTET8_LEN ); in smp_proc_master_id() 1900 memcpy(p_cb->sc_oob_data.loc_oob_data.randomizer, p_cb->rand, in smp_set_local_oob_random_commitment()
|
/system/media/audio_utils/tests/ |
D | fifo_tests.cpp | 105 framesToWrite = rand() % (framesToWrite + 1); in main() 126 framesToRead = rand() % (framesToRead + 1); in main()
|
/system/extras/tests/ext4/ |
D | rand_emmc_perf.c | 126 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { in stats_test() 156 if (lseek64(fd, (rand() % max_blocks) * TST_BLK_SIZE, SEEK_SET) < 0) { in perf_test()
|
/system/bt/test/suite/cases/ |
D | gatt.c | 14 uuid->uu[i] = (uint8_t) (rand() % 256); in create_random_uuid()
|
/system/bt/btif/src/ |
D | btif_core.c | 394 local_addr->address[2] = (uint8_t) ((rand() >> 8) & 0xFF); in btif_fetch_local_bdaddr() 395 local_addr->address[3] = (uint8_t) ((rand() >> 8) & 0xFF); in btif_fetch_local_bdaddr() 396 local_addr->address[4] = (uint8_t) ((rand() >> 8) & 0xFF); in btif_fetch_local_bdaddr() 397 local_addr->address[5] = (uint8_t) ((rand() >> 8) & 0xFF); in btif_fetch_local_bdaddr()
|
/system/core/libutils/ |
D | BlobCache.cpp | 292 return rand(); in blob_random()
|
/system/bt/stack/hcic/ |
D | hciblecmds.c | 557 BOOLEAN btsnd_hcic_ble_start_enc (UINT16 handle, UINT8 rand[HCIC_BLE_RAND_DI_SIZE], in btsnd_hcic_ble_start_enc() 575 ARRAY_TO_STREAM (pp, rand, HCIC_BLE_RAND_DI_SIZE); in btsnd_hcic_ble_start_enc()
|
/system/keymaster/ |
D | key_blob_test.cpp | 301 buf[i] = static_cast<uint8_t>(rand()); in TEST_F()
|
D | android_keymaster_messages_test.cpp | 587 buf[i] = static_cast<uint8_t>(rand()); in parse_garbage()
|
/system/gatekeeper/tests/ |
D | gatekeeper_messages_test.cpp | 42 buffer[i] = rand(); in make_buffer()
|
/system/bt/stack/include/ |
D | hcimsgs.h | 744 UINT8 rand[HCIC_BLE_RAND_DI_SIZE],
|
D | btm_api.h | 1641 BT_OCTET8 rand; member
|