Home
last modified time | relevance | path

Searched refs:bt_rand (Results 1 – 25 of 53) sorted by relevance

123

/Zephyr-latest/tests/bluetooth/host/crypto/bt_rand/src/
Dmain.c28 ZTEST_SUITE(bt_rand, NULL, NULL, NULL, NULL, NULL);
40 ZTEST(bt_rand, test_bt_rand_succeeds_host_crypto_prng_disabled) in ZTEST() argument
51 err = bt_rand(buf, buf_len); in ZTEST()
69 ZTEST(bt_rand, test_psa_generate_random_succeeds_on_first_call) in ZTEST() argument
79 err = bt_rand(buf, buf_len); in ZTEST()
Dtest_suite_invalid_inputs.c32 bt_rand(NULL, 1); in ZTEST()
50 bt_rand(buf, 0); in ZTEST()
75 err = bt_rand(buf, buf_len); in ZTEST()
103 err = bt_rand(buf, buf_len); in ZTEST()
/Zephyr-latest/tests/bluetooth/host/id/mocks/
Dcrypto.h11 #define CRYPTO_FFF_FAKES_LIST(FAKE) FAKE(bt_rand)
13 DECLARE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
Dcrypto.c11 DEFINE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
/Zephyr-latest/tests/bluetooth/audio/mocks/include/
Dcrypto.h14 #define CRYPTO_FFF_FAKES_LIST(FAKE) FAKE(bt_rand)
16 DECLARE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
/Zephyr-latest/tests/bluetooth/audio/mocks/src/
Dcrypto.c10 DEFINE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
/Zephyr-latest/tests/bluetooth/host/crypto/bt_rand/
DCMakeLists.txt7 project(bt_rand) project
/Zephyr-latest/subsys/bluetooth/host/
Dcrypto_psa.c40 int bt_rand(void *buf, size_t len) in bt_rand() function
50 int bt_rand(void *buf, size_t len) in bt_rand() function
Daddr.c23 return bt_rand(addr->a.val, 6); in create_random_addr()
Dhci_ecc.c389 return !bt_rand(dst, len); in default_CSPRNG()
/Zephyr-latest/subsys/bluetooth/controller/crypto/
Dcrypto.c18 int bt_rand(void *buf, size_t len) in bt_rand() function
/Zephyr-latest/include/zephyr/bluetooth/
Dcrypto.h39 int bt_rand(void *buf, size_t len);
/Zephyr-latest/samples/bluetooth/mesh_provisioner/src/
Dmain.c84 bt_rand(app_key, 16); in setup_cdb()
276 bt_rand(net_key, 16); in bt_ready()
289 bt_rand(dev_key, 16); in bt_ready()
/Zephyr-latest/subsys/bluetooth/common/
Drpa.c38 return bt_rand(buf, len); in internal_rand()
/Zephyr-latest/subsys/bluetooth/mesh/
Dcrypto_tc.c150 return !bt_rand(dst, len); in default_CSPRNG()
Dprov.c127 bt_rand(&value, sizeof(value)); in get_auth_string()
154 bt_rand(&num, sizeof(num)); in get_auth_number()
Dproxy_srv.c554 err = bt_rand(random, 8); in node_id_adv()
574 err = bt_rand(random, 8); in priv_node_id_adv()
595 err = bt_rand(random, 8); in priv_net_id_adv()
Ddelayable_msg.c271 bt_rand(&random_delay, sizeof(uint16_t)); in bt_mesh_delayable_msg_manage()
/Zephyr-latest/subsys/bluetooth/lib/
Dead.c40 err = bt_rand(randomizer, BT_EAD_RANDOMIZER_SIZE); in bt_ead_generate_randomizer()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_broadcast.c139 err = bt_rand(&broadcast_id, BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dmesh.c591 err = bt_rand(dev_key, sizeof(dev_key)); in provision_and_configure()
597 err = bt_rand(&addr, sizeof(addr)); in provision_and_configure()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dpbp_public_broadcast_source_test.c111 err = bt_rand(&broadcast_id, BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
/Zephyr-latest/samples/bluetooth/tmap_bms/src/
Dcap_initiator.c175 err = bt_rand(&broadcast_id, BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
/Zephyr-latest/samples/bluetooth/pbp_public_broadcast_source/src/
Dmain.c195 err = bt_rand(&broadcast_id, BT_AUDIO_BROADCAST_ID_SIZE); in setup_extended_adv_data()
/Zephyr-latest/subsys/bluetooth/mesh/shell/
Dshell.c1193 bt_rand(net_key, 16); in cmd_cdb_create()
1351 bt_rand(dev_key, 16); in cmd_cdb_node_add()
1421 bt_rand(net_key, 16); in cmd_cdb_subnet_add()
1491 bt_rand(app_key, 16); in cmd_cdb_app_key_add()

123