Searched refs:f_entropy (Results 1 – 5 of 5) sorted by relevance
/mbedtls-3.7.0/library/ |
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()
|
D | ctr_drbg.c | 101 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/ |
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 | 201 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/ |
D | ssl_test_lib.c | 103 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()
|