summaryrefslogtreecommitdiffstats
path: root/MdePkg/Test/GoogleTest
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2024-09-03 18:04:39 +0200
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-09-13 14:34:21 +0000
commitc04c4534c4a5093c116b0670c34d11df9440dd7b (patch)
treecd79808030888b27f1ebc5f6a2406a077b8f15c4 /MdePkg/Test/GoogleTest
parentbc02b255a83dbad98aa63a86b2cee82f1205e2e0 (diff)
downloadedk2-c04c4534c4a5093c116b0670c34d11df9440dd7b.tar.gz
edk2-c04c4534c4a5093c116b0670c34d11df9440dd7b.tar.bz2
edk2-c04c4534c4a5093c116b0670c34d11df9440dd7b.zip
MdePkg/DxeRngLib: Refactor Rng algorithm selection
Add a library constructor which: - locate the RNG prototocol and keep a reference to it in order to avoid locating it multiple times (for each random number generation) - check which secure algorithm is available on the platform. This avoids to try each secure algorithm until finding one available for each random number generation call. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Diffstat (limited to 'MdePkg/Test/GoogleTest')
0 files changed, 0 insertions, 0 deletions