Searched refs:f_entropy (Results 1 – 5 of 5) sorted by relevance
/third_party/mbedtls/library/ |
D | ctr_drbg.c | 72 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()
|
D | hmac_drbg.c | 171 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()
|
/third_party/mbedtls/include/mbedtls/ |
D | hmac_drbg.h | 101 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); /*!< entropy function */ 201 int (*f_entropy)(void *, unsigned char *, size_t),
|
D | ctr_drbg.h | 198 int (*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); 330 int (*f_entropy)(void *, unsigned char *, size_t),
|
/third_party/mbedtls/programs/ssl/ |
D | ssl_test_lib.c | 113 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()
|