Home
last modified time | relevance | path

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

/mbedtls-development/library/
A Dctr_drbg.c72 if( ctx->f_entropy != NULL ) in mbedtls_ctr_drbg_free()
98 if( ctx->f_entropy != NULL ) in mbedtls_ctr_drbg_set_nonce_len()
367 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()
435 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_ctr_drbg_seed()
453 ctx->f_entropy = f_entropy; in mbedtls_ctr_drbg_seed()
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()
237 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_hmac_drbg_seed()
264 ctx->f_entropy = f_entropy; in mbedtls_hmac_drbg_seed()
338 if( ctx->f_entropy != NULL && /* For no-reseeding instances */ in mbedtls_hmac_drbg_random_with_add()
/mbedtls-development/include/mbedtls/
A Dhmac_drbg.h101 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); /*!< entropy function */
201 int (*f_entropy)(void *, unsigned char *, size_t),
A Dctr_drbg.h198 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t);
330 int (*f_entropy)(void *, unsigned char *, size_t),
/mbedtls-development/programs/ssl/
A Dssl_test_lib.c113 int ( *f_entropy )( void *, unsigned char *, size_t ) = in rng_seed() local
121 f_entropy, &rng->entropy, in rng_seed()
134 f_entropy, &rng->entropy, in rng_seed()

Completed in 14 milliseconds