cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kltention
Visitor
Visitor
721 Views
Registered: ‎01-22-2018

RSA Authentication key parsing failed

I am having trouble while running bootgen. Here is the example of my bif file:

 

//arch = zynqmp; split = false; format = BIN
the_ROM_image:
{
`[ppkfile]C:\ppk.pem
 [pskfile]C:\psk.pem
 [spkfile]C:\spk.pem
 [sskfile]C:\ssk.pem
 [auth_params]spk_id = 0; ppk_select = 0
 [aeskeyfile]C:encr.nky
 [keysrc_encryption]bbram_red_key
 [fsbl_config]bh_auth_enable //keeps from burning the efuse
 [encryption = aes, authentication=rsa, destination_cpu = a53-0, blocks=8(8)]C:\app.elf
}

 

I am getting a bootgen error : RSA Authentication key parsing failed

 

I used openssl to generate both of my  rsa key pairs

0 Kudos
Reply
1 Reply
denist
Xilinx Employee
Xilinx Employee
645 Views
Registered: ‎10-11-2011

I think you just need to specify 1 pair of keys and not both.

I usually do:

 

 [pskfile]PATH/psk0.pem
 [sskfile]PATH/ssk0.pem

 

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Reply