From 88b2220548a9c0da8830b2dcac1549e94f51a3a4 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Thu, 22 Sep 2016 15:19:32 +0100 Subject: [PATCH] TRNG HAL - fix length doc wording for get_bytes --- hal/hal/trng_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hal/hal/trng_api.h b/hal/hal/trng_api.h index 1c288e6776..2d3166d5ce 100644 --- a/hal/hal/trng_api.h +++ b/hal/hal/trng_api.h @@ -50,7 +50,7 @@ void trng_free(trng_t *obj); * * @param obj The TRNG object * @param output The pointer to an output array - * @param length The length of output data + * @param length The size of output data, to avoid buffer overwrite * @param output_length The length of generated data * @return 0 success, -1 fail */