Lines Matching refs:add_len
320 size_t add_len ) in mbedtls_ctr_drbg_update_ret() argument
325 if( add_len == 0 ) in mbedtls_ctr_drbg_update_ret()
328 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_update_ret()
341 size_t add_len ) in mbedtls_ctr_drbg_update() argument
345 if( add_len > MBEDTLS_CTR_DRBG_MAX_SEED_INPUT ) in mbedtls_ctr_drbg_update()
346 add_len = MBEDTLS_CTR_DRBG_MAX_SEED_INPUT; in mbedtls_ctr_drbg_update()
347 (void) mbedtls_ctr_drbg_update_ret( ctx, additional, add_len ); in mbedtls_ctr_drbg_update()
519 const unsigned char *additional, size_t add_len ) in mbedtls_ctr_drbg_random_with_add() argument
532 if( add_len > MBEDTLS_CTR_DRBG_MAX_INPUT ) in mbedtls_ctr_drbg_random_with_add()
540 if( ( ret = mbedtls_ctr_drbg_reseed( ctx, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()
544 add_len = 0; in mbedtls_ctr_drbg_random_with_add()
547 if( add_len > 0 ) in mbedtls_ctr_drbg_random_with_add()
549 if( ( ret = block_cipher_df( add_input, additional, add_len ) ) != 0 ) in mbedtls_ctr_drbg_random_with_add()