3 #include <bl_uapp/bl_syscall_public.h>
23 struct sha_generic_data *
sha_op)
25 if (hash_alg == VB2_HASH_SHA256) {
26 sha_op->SHAType = SHA_TYPE_256;
28 }
else if (hash_alg == VB2_HASH_SHA384) {
29 sha_op->SHAType = SHA_TYPE_384;
40 developer_mode_enabled ?
"Developer" :
"Production");
41 if (developer_mode_enabled)
void platform_report_mode(int developer_mode_enabled)
int platform_set_sha_op(enum vb2_hash_algorithm hash_alg, struct sha_generic_data *sha_op)
uint32_t update_psp_bios_dir(uint32_t *psp_dir_offset, uint32_t *bios_dir_offset)
uint32_t save_uapp_data(void *address, uint32_t size)
uint32_t get_bios_dir_addr(struct embedded_firmware *ef_table)
uint32_t svc_update_psp_bios_dir(uint32_t *psp_dir_offset, uint32_t *bios_dir_offset)
uint32_t svc_set_platform_boot_mode(enum chrome_platform_boot_mode boot_mode)
uint32_t svc_save_uapp_data(void *address, uint32_t size)
#define printk(level,...)
#define BIOS_INFO
BIOS_INFO - Expected events.
static struct sha_generic_data sha_op