| 13 | |
| 14 | namespace kernel { |
| 15 | Context::Context() |
| 16 | { |
| 17 | static std::once_flag globals_initialized{}; |
| 18 | std::call_once(globals_initialized, []() { |
| 19 | std::string sha256_algo = SHA256AutoDetect(); |
| 20 | LogInfo("Using the '%s' SHA256 implementation\n", sha256_algo); |
| 21 | RandomInit(); |
| 22 | }); |
| 23 | } |
| 24 | |
| 25 | |
| 26 | } // namespace kernel |
no test coverage detected