Searched refs:f_entropy (Results 1 – 5 of 5) sorted by relevance
/mbedtls-3.6.0/library/ |
D | ctr_drbg.c | 55 if (ctx->f_entropy != NULL) { in mbedtls_ctr_drbg_free() 82 if (ctx->f_entropy != NULL) { in mbedtls_ctr_drbg_set_nonce_len() 352 if (0 != ctx->f_entropy(ctx->p_entropy, seed, ctx->entropy_len)) { in mbedtls_ctr_drbg_reseed_internal() 359 if (0 != ctx->f_entropy(ctx->p_entropy, seed + seedlen, nonce_len)) { in mbedtls_ctr_drbg_reseed_internal() 419 int (*f_entropy)(void *, unsigned char *, size_t), in mbedtls_ctr_drbg_seed() 435 ctx->f_entropy = f_entropy; in mbedtls_ctr_drbg_seed()
|
D | hmac_drbg.c | 161 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()
|
/mbedtls-3.6.0/include/mbedtls/ |
D | hmac_drbg.h | 88 int(*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); /*!< entropy function */ 188 int (*f_entropy)(void *, unsigned char *, size_t),
|
D | ctr_drbg.h | 183 int(*MBEDTLS_PRIVATE(f_entropy))(void *, unsigned char *, size_t); 315 int (*f_entropy)(void *, unsigned char *, size_t),
|
/mbedtls-3.6.0/programs/ssl/ |
D | ssl_test_lib.c | 104 int (*f_entropy)(void *, unsigned char *, size_t) = in rng_seed() local 113 f_entropy, &rng->entropy, in rng_seed() 126 f_entropy, &rng->entropy, in rng_seed()
|