Home
last modified time | relevance | path

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

/mbedtls-3.6.0/library/
Dctr_drbg.c333 size_t nonce_len) in mbedtls_ctr_drbg_reseed_internal() argument
342 if (nonce_len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len) { in mbedtls_ctr_drbg_reseed_internal()
345 if (len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len - nonce_len) { in mbedtls_ctr_drbg_reseed_internal()
358 if (nonce_len != 0) { 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()
362 seedlen += nonce_len; in mbedtls_ctr_drbg_reseed_internal()
426 size_t nonce_len; in mbedtls_ctr_drbg_seed() local
445 nonce_len = (ctx->reseed_counter >= 0 ? in mbedtls_ctr_drbg_seed()
457 nonce_len)) != 0) { in mbedtls_ctr_drbg_seed()