Software APIs
mock_rnd.cc
1 // Copyright lowRISC contributors (OpenTitan project).
2 // Licensed under the Apache License, Version 2.0, see LICENSE for details.
3 // SPDX-License-Identifier: Apache-2.0
4 
5 #include "sw/device/silicon_creator/lib/drivers/mock_rnd.h"
6 
7 namespace rom_test {
8 extern "C" {
9 rom_error_t rnd_health_config_check(lifecycle_state_t lc_state) {
10  return MockRnd::Instance().HealthConfigCheck(lc_state);
11 }
12 
13 uint32_t rnd_uint32(void) { return MockRnd::Instance().Uint32(); }
14 }
15 } // namespace rom_test