summaryrefslogtreecommitdiff
path: root/doc/imx/habv4/csf_examples/mx8m/csf_fit.txt
blob: ca91f1232acf5fdfca9d601e7443b82d3446591d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
[Header]
    Version = 4.3
    Hash Algorithm = sha256
    Engine = CAAM
    Engine Configuration = 0
    Certificate Format = X509
    Signature Format = CMS

[Install SRK]
    # Index of the key location in the SRK table to be installed
    File = "../crts/SRK_1_2_3_4_table.bin"
    Source index = 0

[Install CSFK]
    # Key used to authenticate the CSF data
    File = "../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"

[Authenticate CSF]

[Install Key]
    # Key slot index used to authenticate the key to be installed
    Verification index = 0
    # Target key slot in HAB key store where key will be installed
    Target index = 2
    # Key to install
    File = "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"

[Authenticate Data]
    # Key slot index used to authenticate the image data
    Verification index = 2
    # Authenticate Start Address, Offset, Length and file
    Blocks = 0x401fcdc0 0x057c00 0x01020 "flash.bin", \
             0x40200000 0x05CC00 0x9AAC8 "flash.bin", \
             0x00910000 0x0F76C8 0x09139 "flash.bin", \
             0xFE000000 0x100804 0x4D268 "flash.bin", \
             0x4029AAC8 0x14DA6C 0x06DCF "flash.bin"