/Zephyr-Core-3.6.0/tests/bluetooth/host/crypto/bt_rand/src/ |
D | main.c | 29 ZTEST_SUITE(bt_rand, NULL, NULL, NULL, NULL, NULL); 41 ZTEST(bt_rand, test_bt_rand_succeeds_host_crypto_prng_disabled) in ZTEST() argument 52 err = bt_rand(buf, buf_len); in ZTEST() 70 ZTEST(bt_rand, test_tc_hmac_prng_generate_succeeds_on_first_call) in ZTEST() argument 81 err = bt_rand(buf, buf_len); in ZTEST() 109 ZTEST(bt_rand, test_tc_hmac_prng_generate_succeeds_on_second_call) in ZTEST() argument 124 err = bt_rand(buf, buf_len); in ZTEST()
|
D | test_suite_invalid_inputs.c | 33 bt_rand(NULL, 1); in ZTEST() 51 bt_rand(buf, 0); in ZTEST() 76 err = bt_rand(buf, buf_len); in ZTEST() 105 err = bt_rand(buf, buf_len); in ZTEST() 138 err = bt_rand(buf, buf_len); in ZTEST() 181 err = bt_rand(buf, buf_len); in ZTEST()
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/id/mocks/ |
D | crypto.h | 11 #define CRYPTO_FFF_FAKES_LIST(FAKE) FAKE(bt_rand) 13 DECLARE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
|
D | crypto.c | 11 DEFINE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
|
/Zephyr-Core-3.6.0/tests/bluetooth/audio/mocks/include/ |
D | crypto.h | 14 #define CRYPTO_FFF_FAKES_LIST(FAKE) FAKE(bt_rand) 16 DECLARE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
|
/Zephyr-Core-3.6.0/tests/bluetooth/audio/mocks/src/ |
D | crypto.c | 10 DEFINE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
|
/Zephyr-Core-3.6.0/tests/bluetooth/host/crypto/bt_rand/ |
D | CMakeLists.txt | 10 project(bt_rand) project
|
/Zephyr-Core-3.6.0/subsys/bluetooth/host/ |
D | crypto.c | 79 int bt_rand(void *buf, size_t len) in bt_rand() function 104 int bt_rand(void *buf, size_t len) in bt_rand() function
|
D | addr.c | 23 return bt_rand(addr->a.val, 6); in create_random_addr()
|
D | hci_ecc.c | 349 return !bt_rand(dst, len); in default_CSPRNG()
|
D | smp.c | 1048 if (bt_rand(info->csrk, sizeof(info->csrk))) { in smp_br_distribute_keys() 1949 if (bt_rand((void *)&rand, sizeof(rand))) { in legacy_distribute_keys() 2062 if (bt_rand(info->csrk, sizeof(info->csrk))) { in bt_smp_distribute_keys() 2216 if (bt_rand(&passkey, sizeof(passkey))) { in legacy_request_tk() 2555 if (bt_rand(smp->prnd, 16)) { in smp_init() 3628 if (bt_rand(smp->prnd, 16)) { in smp_pairing_random() 3683 if (bt_rand(smp->prnd, 16)) { in smp_pairing_random() 3690 if (bt_rand(smp->prnd, 16)) { in smp_pairing_random() 4102 if (bt_rand(&smp->passkey, sizeof(smp->passkey))) { in display_passkey() 4246 if (bt_rand(smp->prnd, 16)) { in smp_public_key() [all …]
|
/Zephyr-Core-3.6.0/subsys/bluetooth/controller/crypto/ |
D | crypto.c | 18 int bt_rand(void *buf, size_t len) in bt_rand() function
|
/Zephyr-Core-3.6.0/include/zephyr/bluetooth/ |
D | crypto.h | 39 int bt_rand(void *buf, size_t len);
|
/Zephyr-Core-3.6.0/samples/bluetooth/mesh_provisioner/src/ |
D | main.c | 84 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-Core-3.6.0/subsys/bluetooth/common/ |
D | rpa.c | 38 return bt_rand(buf, len); in internal_rand()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/ |
D | crypto_tc.c | 150 return !bt_rand(dst, len); in default_CSPRNG()
|
D | prov.c | 127 bt_rand(&value, sizeof(value)); in get_auth_string() 154 bt_rand(&num, sizeof(num)); in get_auth_number()
|
D | proxy_srv.c | 551 err = bt_rand(random, 8); in node_id_adv() 571 err = bt_rand(random, 8); in priv_node_id_adv() 592 err = bt_rand(random, 8); in priv_net_id_adv()
|
D | delayable_msg.c | 271 bt_rand(&random_delay, sizeof(uint16_t)); in bt_mesh_delayable_msg_manage()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/lib/ |
D | ead.c | 40 err = bt_rand(randomizer, BT_EAD_RANDOMIZER_SIZE); in bt_ead_generate_randomizer()
|
/Zephyr-Core-3.6.0/samples/boards/reel_board/mesh_badge/src/ |
D | mesh.c | 591 err = bt_rand(dev_key, sizeof(dev_key)); in provision_and_configure() 597 err = bt_rand(&addr, sizeof(addr)); in provision_and_configure()
|
/Zephyr-Core-3.6.0/subsys/bluetooth/mesh/shell/ |
D | shell.c | 1191 bt_rand(net_key, 16); in cmd_cdb_create() 1349 bt_rand(dev_key, 16); in cmd_cdb_node_add() 1419 bt_rand(net_key, 16); in cmd_cdb_subnet_add() 1489 bt_rand(app_key, 16); in cmd_cdb_app_key_add()
|
/Zephyr-Core-3.6.0/tests/bluetooth/mesh/delayable_msg/src/ |
D | main.c | 71 int bt_rand(void *buf, size_t len) in bt_rand() function
|
/Zephyr-Core-3.6.0/samples/boards/bbc_microbit/pong/src/ |
D | ble.c | 399 if (bt_rand(&timeout, sizeof(timeout)) < 0) { in adv_timeout()
|
D | main.c | 258 bt_rand(&rnd, sizeof(rnd)); in check_start()
|