推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

安全bootloader的实现(英文)

更新时间:2023-01-10 09:08:56 大小:266K 上传用户:sun2152查看TA发布的资源 标签:bootloader 下载积分:1分 评价赚积分 (如何评价?) 打赏 收藏 评论(0) 举报

资料介绍

1 Introduction Firmware upgrade is an essential feature of many microcontroller systems. It is very important to encrypt firmware to protect the intellectual property especially when manufacturers provide firmware to third parties. Freescale has provided broad examples of bootloaders for microcontrollers. This application note describes the implementation of the advanced encryption standard (AES) on the following two USB mass storage bootloaders: • USB Mass Storage Host Bootloader. See AN4368: USB Mass Storage Host Bootloader, available on • USB Mass Storage Device Bootloader. See AN4379: Freescale USB Mass Storage Device Bootloader, available on 2 Implementation of AES AES is a symmetric key algorithm and the same key is used for encryption and decryption. It is a block cipher which means each time it encrypts or decrypts a block of data. The block size is 128 bits with an optional key size of 128, 192 or 256 bits. The block size of 128 bits is used in the AES implementation given in this application note. Random initialvector (IV) with the same size as the block is used to further randomize the input data. Without IV, a given block always gets encrypted the same with a given key. The first input block of data is randomized by the IV and then after encryption, it becomes the output block. The other input blocks are randomized by their previous output blocks. The method of randomization depends on the mode selected. For example, in CBC mode, an input block is XOR with the previous output block.

部分文件列表

文件名 大小
安全bootloader的实现(英文).pdf 266K

【关注B站账户领20积分】

全部评论(0)

暂无评论

上传资源 上传优质资源有赏金

  • 打赏
  • 30日榜单

推荐下载