Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
Dtest_suite_hmac_drbg.function184 entropy_ctx p_entropy;
190 p_entropy.p = entropy->x;
191 p_entropy.len = entropy->len;
197 memcpy(data, entropy->x, p_entropy.len);
198 memcpy(data + p_entropy.len, custom->x, custom->len);
200 data, p_entropy.len + custom->len) == 0);
212 TEST_ASSERT(mbedtls_hmac_drbg_seed(&ctx, md_info, mbedtls_test_entropy_func, &p_entropy,
231 entropy_ctx p_entropy;
237 p_entropy.p = entropy->x;
238 p_entropy.len = entropy->len;
[all …]
/third_party/mbedtls/library/
Dhmac_drbg.c173 if ((ret = ctx->f_entropy(ctx->p_entropy, in hmac_drbg_reseed_core()
189 if ((ret = ctx->f_entropy(ctx->p_entropy, in hmac_drbg_reseed_core()
237 void *p_entropy, in mbedtls_hmac_drbg_seed() argument
266 ctx->p_entropy = p_entropy; in mbedtls_hmac_drbg_seed()
Dctr_drbg.c364 if (0 != ctx->f_entropy(ctx->p_entropy, seed, ctx->entropy_len)) { in mbedtls_ctr_drbg_reseed_internal()
371 if (0 != ctx->f_entropy(ctx->p_entropy, seed + seedlen, nonce_len)) { in mbedtls_ctr_drbg_reseed_internal()
432 void *p_entropy, in mbedtls_ctr_drbg_seed() argument
448 ctx->p_entropy = p_entropy; in mbedtls_ctr_drbg_seed()
/third_party/mbedtls/include/mbedtls/
Dhmac_drbg.h101 void *MBEDTLS_PRIVATE(p_entropy); /*!< context for the entropy function */
201 void *p_entropy,
Dctr_drbg.h200 void *MBEDTLS_PRIVATE(p_entropy); /*!< The context for the entropy function. */
330 void *p_entropy,