Searched refs:entropy_len (Results 1 – 7 of 7) sorted by relevance
134 ctx->entropy_len + len > MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT ) in mbedtls_hmac_drbg_reseed()142 if( ctx->f_entropy( ctx->p_entropy, seed, ctx->entropy_len ) != 0 ) in mbedtls_hmac_drbg_reseed()145 seedlen = ctx->entropy_len; in mbedtls_hmac_drbg_reseed()175 size_t entropy_len, md_size; in mbedtls_hmac_drbg_seed() local202 entropy_len = md_size <= 20 ? 16 : /* 160-bits hash -> 128 bits */ in mbedtls_hmac_drbg_seed()210 ctx->entropy_len = entropy_len * 3 / 2; in mbedtls_hmac_drbg_seed()215 ctx->entropy_len = entropy_len; in mbedtls_hmac_drbg_seed()234 ctx->entropy_len = len; in mbedtls_hmac_drbg_set_entropy_len()
79 size_t entropy_len ) in mbedtls_ctr_drbg_seed_entropy_len() argument91 ctx->entropy_len = entropy_len; in mbedtls_ctr_drbg_seed_entropy_len()134 ctx->entropy_len = len; in mbedtls_ctr_drbg_set_entropy_len()293 if( ctx->entropy_len + len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT ) in mbedtls_ctr_drbg_reseed()302 ctx->entropy_len ) ) in mbedtls_ctr_drbg_reseed()307 seedlen += ctx->entropy_len; in mbedtls_ctr_drbg_reseed()
480 size_t entropy_len = 0; in mbedtls_entropy_source_self_test_gather() local484 while( attempts > 0 && entropy_len < buf_len ) in mbedtls_entropy_source_self_test_gather()486 if( ( ret = mbedtls_hardware_poll( NULL, buf + entropy_len, in mbedtls_entropy_source_self_test_gather()487 buf_len - entropy_len, &olen ) ) != 0 ) in mbedtls_entropy_source_self_test_gather()490 entropy_len += olen; in mbedtls_entropy_source_self_test_gather()494 if( entropy_len < buf_len ) in mbedtls_entropy_source_self_test_gather()
85 size_t entropy_len; /*!< entropy bytes grabbed on each (re)seed */ member
93 size_t entropy_len; /*!< amount of entropy grabbed on each member
184 /* Finally, check setting entropy_len */
95 /* Finally, check setting entropy_len */