Skip to content

Commit 88b2220

Browse files
committed
TRNG HAL - fix length doc wording for get_bytes
1 parent 48544fc commit 88b2220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hal/hal/trng_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void trng_free(trng_t *obj);
5050
*
5151
* @param obj The TRNG object
5252
* @param output The pointer to an output array
53-
* @param length The length of output data
53+
* @param length The size of output data, to avoid buffer overwrite
5454
* @param output_length The length of generated data
5555
* @return 0 success, -1 fail
5656
*/

0 commit comments

Comments
 (0)