Lines Matching refs:additional
74 const unsigned char *additional, size_t add_len ) in mbedtls_hmac_drbg_update() argument
77 unsigned char rounds = ( additional != NULL && add_len != 0 ) ? 2 : 1; in mbedtls_hmac_drbg_update()
88 mbedtls_md_hmac_update( &ctx->md_ctx, additional, add_len ); in mbedtls_hmac_drbg_update()
127 const unsigned char *additional, size_t len ) in mbedtls_hmac_drbg_reseed() argument
148 if( additional != NULL && len != 0 ) in mbedtls_hmac_drbg_reseed()
150 memcpy( seed + seedlen, additional, len ); in mbedtls_hmac_drbg_reseed()
251 const unsigned char *additional, size_t add_len ) in mbedtls_hmac_drbg_random_with_add() argument
272 if( ( ret = mbedtls_hmac_drbg_reseed( ctx, additional, add_len ) ) != 0 ) in mbedtls_hmac_drbg_random_with_add()
279 if( additional != NULL && add_len != 0 ) in mbedtls_hmac_drbg_random_with_add()
280 mbedtls_hmac_drbg_update( ctx, additional, add_len ); in mbedtls_hmac_drbg_random_with_add()
297 mbedtls_hmac_drbg_update( ctx, additional, add_len ); in mbedtls_hmac_drbg_random_with_add()