How to identify HAB signed image with CSF header?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to identify HAB signed image with CSF header?

1,709 次查看
kanimozhi_t
Contributor V

Hi,

I would like to differentiate between plain FIT image and HAB signed image on i.MX 8M based processors. So it would be useful if you could answer the following.

1. Can you share the CSF header structure for i.MX 8M FIT image?

2. Do i.MX 6UL & i.MX 8M has same CSF header structure since both are HABv4?

 

Thanks in advance.

标记 (3)
0 项奖励
回复
2 回复数

1,700 次查看
IvanRuiz
NXP Employee
NXP Employee

Hello,

 

A typical CSF header is as follows, it does not depend on the i.MX processor but rather on HABv4. So, the following is a generic example of a CSF header for HABv4, please see below:

 

[Header]
    Version = 4.1
    Hash Algorithm = sha256
    Engine Configuration = 0
    Certificate Format = X509
    Signature Format = CMS

 

Hope it helps!

 

BR,

Ivan.

0 项奖励
回复

1,692 次查看
kanimozhi_t
Contributor V

Thanks for the reply, this is the header in text format! But we want to check the CSF header in binary format.

 

By analysing the u-boot code we found that CSF would start with 0xD4 in binary format. Like this we would want to get the entire CSF binary structure so that it can be verified in the provided binary file.

 

Thanks in advance.

0 项奖励
回复