puf_file - 2023.2 简体中文

Bootgen 用户指南 (UG1283)

Document ID
UG1283
Release Date
2023-10-18
Version
2023.2 简体中文

语法

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    [puf_file] <puf data file>
  • 对于 Versal 自适应 SoC:
    puf_file = <puf data file>

描述

PUF 帮助程序数据文件。

  • PUF 配合黑密钥用作为加密密钥源。
  • PUF 帮助程序数据大小为 1544 字节。
  • 其中 1536 字节用于 PUF HD + 4 字节用于 CHASH + 3 字节用于 AUX + 1 字节用于对齐。

如需了解更多信息,请参阅 黑密钥/PUF 密钥

示例

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    all:                                                        
    {                                                           
       [fsbl_config] pufhd_bh                                   
       [puf_file] pufhelperdata.txt                             
       [bh_keyfile] black_key.txt                               
       [bh_key_iv] bhkeyiv.txt                                  
       [bootloader,destination_cpu=a53-0,encryption=aes]fsbl.elf
    } 
  • 对于 AMD Versal™  自适应 SoC:
    all:                                                        
    {                                                           
       boot_config {puf4kmode}                                  
       puf_file = pufhd_file_4K.txt                             
       bh_kek_iv = bh_black_key-iv.txt
       image                                                    
       {                                                        
          name = pmc_subsys, id = 0x1c000001                    
          {                                                     
             type = bootloader, encryption = aes,               
             keysrc = bh_black_key, aeskeyfile = key1.nky,     
             file = plm.elf                                     
          }                                                     
          {                                                     
             type = pmcdata, load = 0xf2000000,                 
             aeskeyfile = key2.nky, file = pmc_cdo.bin          
          }                                                     
          {                                                     
             type=cdo, encryption = aes,                        
             keysrc = efuse_red_key, aeskeyfile = key3.nky,     
             file=fpd_data.cdo                                  
          }                                                     
       }                                                        
    }