Lines Matching refs:add_len
64 size_t add_len ) in mbedtls_hmac_drbg_update_ret() argument
67 unsigned char rounds = ( additional != NULL && add_len != 0 ) ? 2 : 1; in mbedtls_hmac_drbg_update_ret()
86 additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_update_ret()
110 size_t add_len ) in mbedtls_hmac_drbg_update() argument
112 (void) mbedtls_hmac_drbg_update_ret( ctx, additional, add_len ); in mbedtls_hmac_drbg_update()
330 const unsigned char *additional, size_t add_len ) in mbedtls_hmac_drbg_random_with_add() argument
343 if( add_len > MBEDTLS_HMAC_DRBG_MAX_INPUT ) in mbedtls_hmac_drbg_random_with_add()
351 if( ( ret = mbedtls_hmac_drbg_reseed( ctx, additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_random_with_add()
354 add_len = 0; /* VII.4 */ in mbedtls_hmac_drbg_random_with_add()
358 if( additional != NULL && add_len != 0 ) in mbedtls_hmac_drbg_random_with_add()
361 additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_random_with_add()
385 additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_random_with_add()