Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_hmac_drbg.function193 entropy_ctx p_entropy;
201 p_entropy.p = entropy->x;
202 p_entropy.len = entropy->len;
208 memcpy(data, entropy->x, p_entropy.len);
209 memcpy(data + p_entropy.len, custom->x, custom->len);
211 data, p_entropy.len + custom->len) == 0);
223 TEST_ASSERT(mbedtls_hmac_drbg_seed(&ctx, md_info, mbedtls_test_entropy_func, &p_entropy,
243 entropy_ctx p_entropy;
251 p_entropy.p = entropy->x;
252 p_entropy.len = entropy->len;
[all …]
/openthread-latest/third_party/mbedtls/repo/include/mbedtls/
Dhmac_drbg.h89 void *MBEDTLS_PRIVATE(p_entropy); /*!< context for the entropy function */
189 void *p_entropy,
Dctr_drbg.h204 void *MBEDTLS_PRIVATE(p_entropy); /*!< The context for the entropy function. */
334 void *p_entropy,
/openthread-latest/third_party/mbedtls/repo/library/
Dhmac_drbg.c161 if ((ret = ctx->f_entropy(ctx->p_entropy, in hmac_drbg_reseed_core()
177 if ((ret = ctx->f_entropy(ctx->p_entropy, in hmac_drbg_reseed_core()
225 void *p_entropy, in mbedtls_hmac_drbg_seed() argument
254 ctx->p_entropy = p_entropy; in mbedtls_hmac_drbg_seed()
Dctr_drbg.c469 if (0 != ctx->f_entropy(ctx->p_entropy, seed, ctx->entropy_len)) { in mbedtls_ctr_drbg_reseed_internal()
476 if (0 != ctx->f_entropy(ctx->p_entropy, seed + seedlen, nonce_len)) { in mbedtls_ctr_drbg_reseed_internal()
537 void *p_entropy, in mbedtls_ctr_drbg_seed() argument
553 ctx->p_entropy = p_entropy; in mbedtls_ctr_drbg_seed()