On Mon, 4 Jul 2022 at 07:35, Sughosh Ganu <[email protected]> wrote: > > 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]> > --- > Changes since V5: None > > cmd/rng.c | 17 +++++++---------- > 1 file changed, 7 insertions(+), 10 deletions(-) >
Reviewed-by: Simon Glass <[email protected]>

