/Zephyr-Core-3.5.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.5.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.5.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.5.0/tests/bluetooth/audio/mocks/src/ |
D | crypto.c | 10 DEFINE_FAKE_VALUE_FUNC(int, bt_rand, void *, size_t);
|
/Zephyr-Core-3.5.0/tests/bluetooth/host/crypto/bt_rand/ |
D | CMakeLists.txt | 10 project(bt_rand) project
|
/Zephyr-Core-3.5.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() 1958 if (bt_rand((void *)&rand, sizeof(rand))) { in legacy_distribute_keys() 2071 if (bt_rand(info->csrk, sizeof(info->csrk))) { in bt_smp_distribute_keys() 2225 if (bt_rand(&passkey, sizeof(passkey))) { in legacy_request_tk() 2564 if (bt_rand(smp->prnd, 16)) { in smp_init() 3637 if (bt_rand(smp->prnd, 16)) { in smp_pairing_random() 3692 if (bt_rand(smp->prnd, 16)) { in smp_pairing_random() 3699 if (bt_rand(smp->prnd, 16)) { in smp_pairing_random() 4111 if (bt_rand(&smp->passkey, sizeof(smp->passkey))) { in display_passkey() 4255 if (bt_rand(smp->prnd, 16)) { in smp_public_key() [all …]
|
D | id.c | 412 err = bt_rand(nrpa.val, sizeof(nrpa.val)); in bt_id_set_private_addr() 440 err = bt_rand(nrpa.val, sizeof(nrpa.val)); in bt_id_set_adv_private_addr() 1224 err = bt_rand(&bt_dev.irk[id], 16); in id_create()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/controller/crypto/ |
D | crypto.c | 18 int bt_rand(void *buf, size_t len) in bt_rand() function
|
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/ |
D | crypto.h | 39 int bt_rand(void *buf, size_t len);
|
/Zephyr-Core-3.5.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.5.0/subsys/bluetooth/common/ |
D | rpa.c | 38 return bt_rand(buf, len); in internal_rand()
|
/Zephyr-Core-3.5.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 | 552 err = bt_rand(random, 8); in node_id_adv() 572 err = bt_rand(random, 8); in priv_node_id_adv() 593 err = bt_rand(random, 8); in priv_net_id_adv()
|
D | prov_device.c | 247 if (bt_rand(bt_mesh_prov_link.rand, auth_size)) { in send_confirm()
|
/Zephyr-Core-3.5.0/subsys/bluetooth/lib/ |
D | ead.c | 40 err = bt_rand(randomizer, BT_EAD_RANDOMIZER_SIZE); in bt_ead_generate_randomizer()
|
/Zephyr-Core-3.5.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.5.0/subsys/bluetooth/mesh/shell/ |
D | shell.c | 1189 bt_rand(net_key, 16); in cmd_cdb_create() 1347 bt_rand(dev_key, 16); in cmd_cdb_node_add() 1417 bt_rand(net_key, 16); in cmd_cdb_subnet_add() 1487 bt_rand(app_key, 16); in cmd_cdb_app_key_add()
|
/Zephyr-Core-3.5.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()
|