keysrc - 2022.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-01-02
Version
2022.2 English

Syntax

keysrc = <options>

Description

This specifies the Key source for encryption.

Arguments

The valid key sources for boot loader, meta header and partitions are:

  • efuse_red_key
  • efuse_blk_key
  • bbram_red_key
  • bbram_blk_key
  • bh_blk_key

There are few more key sources which are valid for partitions only:

  • user_key0
  • user_key1
  • user_key2
  • user_key3
  • user_key4
  • user_key5
  • user_key6
  • user_key7
  • efuse_user_key0
  • efuse_user_blk_key0

Example

all:                                                       
 {                                                          
    image                                                   
    {                                                       
       name = pmc_subsys, id = 0x1c000001                   
       {                                                    
          type = bootloader, encryption = aes,              
          keysrc = bbram_red_key, aeskeyfile = key1.nky,    
          file = plm.elf                                    
       }                                                    
       {                                                    
          type = pmcdata, load = 0xf2000000,                
          aeskeyfile = key2.nky, file = pmc_cdo.bin         
       }                                                    
    }                                                       
 }