Home
last modified time | relevance | path

Searched refs:prng (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.7.0/tests/bluetooth/host/crypto/mocks/
Dhmac_prng_expects.c11 void expect_single_call_tc_hmac_prng_init(TCHmacPrng_t prng, unsigned int plen) in expect_single_call_tc_hmac_prng_init() argument
18 zassert_equal_ptr(tc_hmac_prng_init_fake.arg0_val, prng, in expect_single_call_tc_hmac_prng_init()
26 void expect_single_call_tc_hmac_prng_reseed(TCHmacPrng_t prng, unsigned int seedlen, in expect_single_call_tc_hmac_prng_reseed() argument
34 zassert_equal_ptr(tc_hmac_prng_reseed_fake.arg0_val, prng, in expect_single_call_tc_hmac_prng_reseed()
48 TCHmacPrng_t prng) in expect_call_count_tc_hmac_prng_generate() argument
59 zassert_equal_ptr(tc_hmac_prng_generate_fake.arg2_val, prng, in expect_call_count_tc_hmac_prng_generate()
Dhmac_prng_expects.h15 void expect_single_call_tc_hmac_prng_init(TCHmacPrng_t prng, unsigned int plen);
23 void expect_single_call_tc_hmac_prng_reseed(TCHmacPrng_t prng, unsigned int seedlen,
33 TCHmacPrng_t prng);
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Dcrypto_tc.c33 static struct tc_hmac_prng_struct prng; variable
68 ret = tc_hmac_prng_init(&prng, perso, sizeof(perso)); in prng_init()
75 return prng_reseed(&prng); in prng_init()
87 ret = tc_hmac_prng_generate(buf, len, &prng); in bt_rand()
89 ret = prng_reseed(&prng); in bt_rand()
94 ret = tc_hmac_prng_generate(buf, len, &prng); in bt_rand()
174 return &prng; in bt_crypto_get_hmac_prng_instance()
/Zephyr-Core-3.7.0/tests/bluetooth/host/crypto/bt_rand/src/
Dmain.c88 static int tc_hmac_prng_generate_custom_fake(uint8_t *out, unsigned int outlen, TCHmacPrng_t prng) in tc_hmac_prng_generate_custom_fake() argument
Dtest_suite_invalid_inputs.c145 static int tc_hmac_prng_generate_custom_fake(uint8_t *out, unsigned int outlen, TCHmacPrng_t prng) in tc_hmac_prng_generate_custom_fake() argument