UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor kltention
Visitor
425 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
1 Reply
Xilinx Employee
Xilinx Employee
349 Views
Registered: ‎10-11-2011

Re: RSA Authentication key parsing failed

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