Skip to content

Commit 5089d9d

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
FASTMODEL: update trng based on comments
1 parent a3f8273 commit 5089d9d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/trng_api.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,11 @@ void trng_free(trng_t *obj)
4444
int trng_get_bytes(trng_t *obj, uint8_t *output, size_t length, size_t *output_length)
4545
{
4646
(void)obj;
47-
(void)output;
4847

4948
for (int i = 0; i < length; ++i) {
5049
output[i] = rand() % 256;
5150
}
5251
*output_length = length;
5352

5453
return 0;
55-
5654
}

0 commit comments

Comments
 (0)