5 #ifndef OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT_SVC_OWNERSHIP_UNLOCK_H_
6 #define OPENTITAN_SW_DEVICE_SILICON_CREATOR_LIB_BOOT_SVC_BOOT_SVC_OWNERSHIP_UNLOCK_H_
12 #include "sw/device/silicon_creator/lib/boot_svc/boot_svc_header.h"
13 #include "sw/device/silicon_creator/lib/error.h"
14 #include "sw/device/silicon_creator/lib/nonce.h"
15 #include "sw/device/silicon_creator/lib/ownership/datatypes.h"
23 kBootSvcUnlockAny = 0x00594e41,
25 kBootSvcUnlockEndorsed = 0x4f444e45,
27 kBootSvcUnlockUpdate = 0x00445055,
29 kBootSvcUnlockAbort = 0x54524241,
32 kBootSvcOwnershipUnlockReqType = 0x4b4c4e55,
34 kBootSvcOwnershipUnlockResType = 0x554e4c4b,
111 void boot_svc_ownership_unlock_req_init(uint32_t unlock_mode,
nonce_t nonce,
122 void boot_svc_ownership_unlock_res_init(rom_error_t
status,