diff options
| author | Sughosh Ganu <[email protected]> | 2022-07-22 21:32:07 +0530 |
|---|---|---|
| committer | Ilias Apalodimas <[email protected]> | 2022-08-02 23:50:02 +0300 |
| commit | c79e274c7c6637eeaf631988b18dd68a30596778 (patch) | |
| tree | 0bee8c92ee2c645f415dc5cf5f8e5126ad341918 /scripts/env2string.awk | |
| parent | 87ab234c1cf42a38655b4f93d0dc399b9a9561fa (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/env2string.awk')
0 files changed, 0 insertions, 0 deletions
