summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorSughosh Ganu <[email protected]>2022-07-22 21:32:07 +0530
committerIlias Apalodimas <[email protected]>2022-08-02 23:50:02 +0300
commitc79e274c7c6637eeaf631988b18dd68a30596778 (patch)
tree0bee8c92ee2c645f415dc5cf5f8e5126ad341918 /scripts/objdiff
parent87ab234c1cf42a38655b4f93d0dc399b9a9561fa (diff)
cmd: rng: Use a statically allocated array for random bytes
Use a statically allocated buffer on stack instead of using malloc for reading the random bytes. Using a local array is faster than allocating heap memory on every initiation of the command. Signed-off-by: Sughosh Ganu <[email protected]> Reviewed-by: Ilias Apalodimas <[email protected]> Reviewed-by: Simon Glass <[email protected]> Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions