tizen 2.4 release
[kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-tiger / secure_boot.h
1 #ifndef _SECURE_BOOT_H_
2 #define _SECURE_BOOT_H_
3
4 #include "sc8810_reg_base.h"
5 #define KEY_INFO_SIZ (512)
6 #define CUSTOM_DATA_SIZ (1024)
7 #define VLR_INFO_SIZ (512)
8 #define VLR_INFO_OFF (512)
9
10 void secure_check(uint8_t *data, uint32_t data_len, uint8_t *data_hash, uint8_t *data_key);
11 int cal_md5(void *data, uint32_t len, void *harsh_data);
12 int secureboot_enabled(void);
13
14 #endif