Home
last modified time | relevance | path

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

/mbedtls-3.7.0/library/
Dhmac_drbg.c161 if ((ret = ctx->f_entropy(ctx->p_entropy, in hmac_drbg_reseed_core()
177 if ((ret = ctx->f_entropy(ctx->p_entropy, in hmac_drbg_reseed_core()
224 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_hmac_drbg_seed()
253 ctx->f_entropy = f_entropy; in mbedtls_hmac_drbg_seed()
327 if (ctx->f_entropy != NULL && /* For no-reseeding instances */ in mbedtls_hmac_drbg_random_with_add()
Dctr_drbg.c101 if (ctx->f_entropy != NULL) { in mbedtls_ctr_drbg_free()
132 if (ctx->f_entropy != NULL) { in mbedtls_ctr_drbg_set_nonce_len()
469 if (0 != ctx->f_entropy(ctx->p_entropy, seed, ctx->entropy_len)) { in mbedtls_ctr_drbg_reseed_internal()
476 if (0 != ctx->f_entropy(ctx->p_entropy, seed + seedlen, nonce_len)) { in mbedtls_ctr_drbg_reseed_internal()
536 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_ctr_drbg_seed()
552 ctx->f_entropy = f_entropy; in mbedtls_ctr_drbg_seed()
/mbedtls-3.7.0/include/mbedtls/
Dhmac_drbg.h88 int(*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); /*!< entropy function */
188 int (*f_entropy)(void *, unsigned char *, size_t),
Dctr_drbg.h201 int(*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t);
333 int (*f_entropy)(void *, unsigned char *, size_t),
/mbedtls-3.7.0/programs/ssl/
Dssl_test_lib.c103 int (*f_entropy)(void *, unsigned char *, size_t) = in rng_seed() local
112 f_entropy, &rng->entropy, in rng_seed()
125 f_entropy, &rng->entropy, in rng_seed()