summaryrefslogtreecommitdiff
path: root/src/ossl_random.cpp
AgeCommit message (Collapse)AuthorFilesLines
2023-07-12Use openssl random number generatorEd Tanous1-0/+12
We already have a generator class. We should use it. Wrap this into a function that can be unit tested, and add unit tests. Note, some files also needed to change name, because random.hpp conflicts with the built in random, and causes circular build problems. This commit changes it to ossl_random. Tested: Unit tests pass. Now has coverage. Redfish service validator passes. Change-Id: I5f8eee1af5f4843a352c6fd0e26d67fd3320ef53 Signed-off-by: Ed Tanous <edtanous@google.com>