5 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OTBN_BOOT_SERVICES_H_
6 #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_OTBN_BOOT_SERVICES_H_
11 #include "sw/device/silicon_creator/lib/attestation.h"
12 #include "sw/device/silicon_creator/lib/drivers/hmac.h"
13 #include "sw/device/silicon_creator/lib/drivers/keymgr.h"
14 #include "sw/device/silicon_creator/lib/sigverify/ecdsa_p256_key.h"
15 #include "sw/device/silicon_creator/lib/sigverify/rsa_key.h"
31 rom_error_t otbn_boot_app_load(
void);
59 rom_error_t otbn_boot_attestation_keygen(
60 uint32_t additional_seed_idx, sc_keymgr_key_type_t key_type,
98 rom_error_t otbn_boot_attestation_keygen(
99 uint32_t additional_seed_idx, sc_keymgr_key_type_t key_type,
139 rom_error_t otbn_boot_attestation_key_save(
140 uint32_t additional_seed, sc_keymgr_key_type_t key_type,
152 rom_error_t otbn_boot_attestation_key_clear(
void);
177 rom_error_t otbn_boot_attestation_endorse(
const hmac_digest_t *digest,
201 uint32_t *recovered_r);