分析recovery升级相关rockchip secure boot specification-en_第1页
分析recovery升级相关rockchip secure boot specification-en_第2页
分析recovery升级相关rockchip secure boot specification-en_第3页
分析recovery升级相关rockchip secure boot specification-en_第4页
分析recovery升级相关rockchip secure boot specification-en_第5页
已阅读5页,还剩1页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、Rockchip Secure Boot and Firmware Encryption Specification文件状态: 草稿 正式发布 正在修改文件标识:Secure Boot当前版本:v1.0作者:完成日期:2013-7-16版 本 历 史1.roductionFor DRM and other applications, Rockchip provides Secure Boot solution to encrypt firmware.Features:..Using SHA1 as HASH function.Using 1024 bits RSA

2、Key.Store and compare RSA Public Key.According to firmware signed or unsigned, enable or disable Secure Boot automatically. When Disable Secure Boot, DRM Key will be deleted and DRM Key Box will be disabled. When Secure Boot enable, system still support Rockchip Loader Rockusb upgrade mode. Loader i

3、s locked after flash Secure Boot firmware.Only the firmware which signed with your offil private key can unlock Loader and flash by RKBatchTool.Only the firmware which signed with your offil private key can use sdcard to upgrade.9.2. Principle2.1 Boot Sequence版本号作者修改日期修改说明v1.02013-7-16初稿Loader use S

4、HA1 to calculate hash value of boot.img/recovery.img.Get signature of boot.img/recovery.img, use public key to decode. Compare these two values are equal or unequal.If equal, enable Secure Boot and DRM key box.If unequal, this is illegal firmware, delete key in DRM key box and disable DRM key box. I

5、f firmware is illegal and Loader is locked, enter Rockusb se.If firmware is illegal and Loader is unlocked, delete DRM key、disable DRM key box and boot system.2.2SecureBootTool Firmware Signed ProcedureSecureBootTool generates public and private key.Using SHA1 to calculate hash value of boot.img/rec

6、overy.img.Using private key to sign hash value and add to boot.img/recovery.img. Packing public key and Loader.Using MD5 to calculate hash value of update.img and signed with private key. This digitalsignature is storedhe end of update.img.2.3 Burning Toolock LoadrocedureThe locked Loader need spel

7、verflash firmware.batch tool to unlock. We dont support other tools toBatch tool will check Loader is locked or unlocked. If Loader is unlocked, it can start flashmode.Batch tool will check update.img is signed or not.Batch tool sends MD5 value of update.img and the digital signature to Loader.Loade

8、r uses its own public key to decrypt the digital signature and compares the two MD5 values. If equal, Loader will be unlocked. If not equal, Loader will inform the firmware isillegal.2.4 Recovery Upgrade ProcedurePubilc key is stored in it when we generate recovery.img.Using public key and getting the digital signature which is decode,then get original MD5 value.Calculate MD5 value of update.img.Compare these two MD5 values.he end of update.img to do RSAIf e

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论