Home
last modified time | relevance | path

Searched defs:rand (Results 1 – 16 of 16) sorted by relevance

/system/bt/stack/smp/
Dsmp_keys.cc111 void smp_proc_passkey(tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_proc_passkey()
223 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_csrk()
340 tSMP_STATUS smp_calculate_comfirm(tSMP_CB* p_cb, const Octet16& rand, in smp_calculate_comfirm()
421 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_srand_mrand_confirm()
426 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_srand_mrand_confirm()
511 static void smp_generate_y(tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_y()
575 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_ltk()
617 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_create_private_key()
620 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_create_private_key()
623 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_create_private_key()
[all …]
Dsmp_int.h276 Octet16 rand; /* for SC this is local nonce */ member
/system/bt/osi/src/
Dosi.cc36 int rand; in osi_rand() local
/system/bt/gd/security/
Dpairing_handler_le.cc346 std::optional<std::array<uint8_t, 8>> rand; /* Legacy only */ in ReceiveKeys() local
416 std::array<uint8_t, 8> rand, Octet16 irk, Address identity_address, in SendKeys()
Dpairing_handler_le.h136 …tEncryption(const InitialInformations& i, uint16_t conn_handle, const std::array<uint8_t, 8>& rand, in SendHciLeStartEncryption()
Dinitial_informations.h44 std::optional<std::array<uint8_t, 8>> rand; member
/system/bt/gd/security/record/
Dsecurity_record.h133 std::optional<std::array<uint8_t, 8>> rand; variable
/system/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp90 unique_fd rand(open("/dev/urandom", O_RDONLY)); in WriteRandomData() local
/system/bt/stack/btm/
Dbtm_ble_addr.cc132 uint8_t rand[3]; in rpa_matches_irk() local
Dbtm_ble.cc2212 btsnd_hcic_ble_rand(base::Bind([](BT_OCTET8 rand) { in btm_ble_reset_id()
2216 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id()
2219 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id()
2222 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id()
Dbtm_int_types.h403 BT_OCTET8 rand; /* random vector for LTK generation */ member
/system/netd/server/
DClatdControllerTest.cpp138 uint32_t rand = arc4random_uniform(0xffffffff); in TEST_F() local
/system/core/storaged/tests/
Dstoraged_test.cpp262 std::uniform_real_distribution<> rand(0.8, 1.2); in TEST() local
/system/bt/gd/hci/
Dhci_layer_test.cc521 uint64_t rand = 0x0123456789abcdef; in TEST_F() local
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dlink_layer_controller.cc1945 uint16_t handle, std::array<uint8_t, 8> rand, uint16_t ediv, in HandleLeEnableEncryption()
1958 std::array<uint8_t, 8> rand, in LeEnableEncryption()
/system/bt/stack/include/
Dbtm_api_types.h1356 BT_OCTET8 rand; member