Home
last modified time | relevance | path

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

/openthread-latest/third_party/mbedtls/repo/library/
Dctr_drbg.c450 size_t nonce_len) in mbedtls_ctr_drbg_reseed_internal() argument
459 if (nonce_len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len) { in mbedtls_ctr_drbg_reseed_internal()
462 if (len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len - nonce_len) { in mbedtls_ctr_drbg_reseed_internal()
475 if (nonce_len != 0) { 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()
479 seedlen += nonce_len; in mbedtls_ctr_drbg_reseed_internal()
543 size_t nonce_len; in mbedtls_ctr_drbg_seed() local
562 nonce_len = (ctx->reseed_counter >= 0 ? in mbedtls_ctr_drbg_seed()
584 nonce_len)) != 0) { in mbedtls_ctr_drbg_seed()