Home
last modified time | relevance | path

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

/net-tools-latest/mbedtls-2.4.0/include/mbedtls/
Dhmac_drbg.h91 int (*f_entropy)(void *, unsigned char *, size_t); /*!< entropy function */ member
135 int (*f_entropy)(void *, unsigned char *, size_t),
Dctr_drbg.h102 int (*f_entropy)(void *, unsigned char *, size_t); member
140 int (*f_entropy)(void *, unsigned char *, size_t),
/net-tools-latest/mbedtls-2.4.0/library/
Dctr_drbg.c75 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_ctr_drbg_seed_entropy_len()
88 ctx->f_entropy = f_entropy; in mbedtls_ctr_drbg_seed_entropy_len()
106 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_ctr_drbg_seed()
111 return( mbedtls_ctr_drbg_seed_entropy_len( ctx, f_entropy, p_entropy, custom, len, in mbedtls_ctr_drbg_seed()
301 if( 0 != ctx->f_entropy( ctx->p_entropy, seed, in mbedtls_ctr_drbg_reseed()
Dhmac_drbg.c142 if( ctx->f_entropy( ctx->p_entropy, seed, ctx->entropy_len ) != 0 ) in mbedtls_hmac_drbg_reseed()
169 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_hmac_drbg_seed()
190 ctx->f_entropy = f_entropy; in mbedtls_hmac_drbg_seed()
268 if( ctx->f_entropy != NULL && /* For no-reseeding instances */ in mbedtls_hmac_drbg_random_with_add()