Home
last modified time | relevance | path

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

/mbedtls-3.4.0/library/
Dctr_drbg.c345 size_t nonce_len ) in mbedtls_ctr_drbg_reseed_internal() argument
353 if( nonce_len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len ) in mbedtls_ctr_drbg_reseed_internal()
355 if( len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT - ctx->entropy_len - nonce_len ) in mbedtls_ctr_drbg_reseed_internal()
368 if( nonce_len != 0 ) in mbedtls_ctr_drbg_reseed_internal()
370 if( 0 != ctx->f_entropy( ctx->p_entropy, seed + seedlen, nonce_len ) ) in mbedtls_ctr_drbg_reseed_internal()
374 seedlen += nonce_len; in mbedtls_ctr_drbg_reseed_internal()
436 size_t nonce_len; in mbedtls_ctr_drbg_seed() local
454 nonce_len = ( ctx->reseed_counter >= 0 ? in mbedtls_ctr_drbg_seed()
467 nonce_len ) ) != 0 ) in mbedtls_ctr_drbg_seed()