Home
last modified time | relevance | path

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

/mbedtls-development/tests/suites/
A 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 );
231 entropy_ctx p_entropy;
237 p_entropy.p = entropy->x;
238 p_entropy.len = entropy->len;
263 entropy_ctx p_entropy;
269 p_entropy.p = entropy->x;
[all …]
/mbedtls-development/include/mbedtls/
A Dhmac_drbg.h102 void *MBEDTLS_PRIVATE(p_entropy); /*!< context for the entropy function */
202 void *p_entropy,
A Dctr_drbg.h201 void *MBEDTLS_PRIVATE(p_entropy); /*!< The context for the entropy function. */
331 void *p_entropy,
/mbedtls-development/library/
A Dhmac_drbg.c171 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()
238 void *p_entropy, in mbedtls_hmac_drbg_seed() argument
265 ctx->p_entropy = p_entropy; in mbedtls_hmac_drbg_seed()
A Dctr_drbg.c367 if( 0 != ctx->f_entropy( ctx->p_entropy, seed, ctx->entropy_len ) ) in mbedtls_ctr_drbg_reseed_internal()
376 if( 0 != ctx->f_entropy( ctx->p_entropy, seed + seedlen, nonce_len ) ) in mbedtls_ctr_drbg_reseed_internal()
436 void *p_entropy, in mbedtls_ctr_drbg_seed() argument
454 ctx->p_entropy = p_entropy; in mbedtls_ctr_drbg_seed()

Completed in 9 milliseconds