Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dhmac_drbg.h89 void *MBEDTLS_PRIVATE(p_entropy); /*!< context for the entropy function */
189 void *p_entropy,
H A Dctr_drbg.h219 void *MBEDTLS_PRIVATE(p_entropy); /*!< The context for the entropy function. */
349 void *p_entropy,
/optee_os/lib/libmbedtls/mbedtls/library/
H A 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()
H A 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()