Lines Matching refs:additional
56 const unsigned char *additional, in mbedtls_hmac_drbg_update() argument
60 unsigned char rounds = (additional != NULL && add_len != 0) ? 2 : 1; in mbedtls_hmac_drbg_update()
80 additional, add_len)) != 0) { in mbedtls_hmac_drbg_update()
147 const unsigned char *additional, size_t len, in hmac_drbg_reseed_core() argument
200 if (additional != NULL && len != 0) { in hmac_drbg_reseed_core()
201 memcpy(seed + seedlen, additional, len); in hmac_drbg_reseed_core()
223 const unsigned char *additional, size_t len) in mbedtls_hmac_drbg_reseed() argument
225 return hmac_drbg_reseed_core(ctx, additional, len, 0); in mbedtls_hmac_drbg_reseed()
320 const unsigned char *additional, size_t add_len) in mbedtls_hmac_drbg_random_with_add() argument
342 if ((ret = mbedtls_hmac_drbg_reseed(ctx, additional, add_len)) != 0) { in mbedtls_hmac_drbg_random_with_add()
350 if (additional != NULL && add_len != 0) { in mbedtls_hmac_drbg_random_with_add()
352 additional, add_len)) != 0) { in mbedtls_hmac_drbg_random_with_add()
379 additional, add_len)) != 0) { in mbedtls_hmac_drbg_random_with_add()