5 #include <bl_uapp/bl_syscall_public.h>
25 struct sha_generic_data *
sha_op)
27 if (hash_alg == VB2_HASH_SHA256) {
28 sha_op->SHAType = SHA_TYPE_256;
30 }
else if (hash_alg == VB2_HASH_SHA384) {
31 sha_op->SHAType = SHA_TYPE_384;
52 developer_mode_enabled ?
"Developer" :
"Normal");
53 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.
uint32_t svc_write_postcode(uint32_t postcode)
static struct sha_generic_data sha_op