diff options
author | Pierre Gondois <pierre.gondois@arm.com> | 2023-08-11 16:33:10 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-08 09:48:55 +0000 |
commit | ff7ddc02b273f9159ef46fdb67d99062f8e598d9 (patch) | |
tree | d004da411bdf5d9316eae6e09c5f280345cec44f /UnitTestFrameworkPkg | |
parent | 19438cff973bfb35a1ef12fab45fabb28b63fe64 (diff) | |
download | edk2-ff7ddc02b273f9159ef46fdb67d99062f8e598d9.zip edk2-ff7ddc02b273f9159ef46fdb67d99062f8e598d9.tar.gz edk2-ff7ddc02b273f9159ef46fdb67d99062f8e598d9.tar.bz2 |
SecurityPkg/RngDxe: Simplify Rng algorithm selection for Arm
The first element of mAvailableAlgoArray is defined as the default
Rng algorithm to use. Don't go through the array at each RngGetRNG()
call and just return the first element of the array.
Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Jiewen Yao <Jiewen.yao@intel.com>
Tested-by: Kun Qin <kun.qin@microsoft.com>
Diffstat (limited to 'UnitTestFrameworkPkg')
0 files changed, 0 insertions, 0 deletions