Home
last modified time | relevance | path

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

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dhmac_drbg.h104 int (*f_entropy)(void *, unsigned char *, size_t); /*!< entropy function */ member
204 int (*f_entropy)(void *, unsigned char *, size_t),
A Dctr_drbg.h201 int (*f_entropy)(void *, unsigned char *, size_t); member
333 int (*f_entropy)(void *, unsigned char *, size_t),
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dhmac_drbg.c180 if( ( ret = ctx->f_entropy( ctx->p_entropy, in hmac_drbg_reseed_core()
198 if( ( ret = ctx->f_entropy( ctx->p_entropy, in hmac_drbg_reseed_core()
246 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_hmac_drbg_seed()
273 ctx->f_entropy = f_entropy; in mbedtls_hmac_drbg_seed()
347 if( ctx->f_entropy != NULL && /* For no-reseeding instances */ in mbedtls_hmac_drbg_random_with_add()
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()
380 if( 0 != ctx->f_entropy( ctx->p_entropy, seed, ctx->entropy_len ) ) in mbedtls_ctr_drbg_reseed_internal()
389 if( 0 != ctx->f_entropy( ctx->p_entropy, seed + seedlen, nonce_len ) ) in mbedtls_ctr_drbg_reseed_internal()
448 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_ctr_drbg_seed()
466 ctx->f_entropy = f_entropy; in mbedtls_ctr_drbg_seed()

Completed in 10 milliseconds