Software APIs
mock_mod_exp_ibex.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/sigverify/mock_mod_exp_ibex.h"
6 
7 namespace rom_test {
8 extern "C" {
9 rom_error_t sigverify_mod_exp_ibex(const sigverify_rsa_key_t *key,
10  const sigverify_rsa_buffer_t *sig,
11  sigverify_rsa_buffer_t *result) {
12  return MockSigverifyModExpIbex::Instance().mod_exp(key, sig, result);
13 }
14 } // extern "C"
15 } // namespace rom_test