Calculate length limition of CSEC

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Calculate length limition of CSEC

ソリューションへジャンプ
962件の閲覧回数
Keane
Contributor I

Hi everyone

I'm working on S32K146 with S32DS 3.4 now, but I found some issues about CSEC.

Is there any length limitation of CMAC calculation by Csec_GenerateMacAddrMode?

Can the calculation length be beyond 0x60000?

Length 0x5FFFF, it can work.

Keane_0-1683191397854.png

Length 0x60000, it can work.

Keane_1-1683191430542.png

Length 0x60001, it can't work.

Keane_2-1683191451305.png

But it can work by Csec_GenerateMac.

Keane_3-1683191512751.png

I will appreciate it if someone can help me to solve those problems.
Best regards.

0 件の賞賛
返信
1 解決策
949件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Keane 

yes, there is a limitation:

lukaszadrapa_0-1683220374446.png

 In case of S32K146, there are two 512KB read partitions in program flash:

lukaszadrapa_1-1683220388332.png

So, you just crossed the partition.

Regards,

Lukas

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
770件の閲覧回数
ZEROOO
Contributor IV

Hi @Keane 

    When you use the CSEC_DRV_GenerateMACAddrMode function, can you process data of 0x60000 bytes in one call.Has the specific maximum data length been measured?

 

Best wishes!

0 件の賞賛
返信
950件の閲覧回数
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @Keane 

yes, there is a limitation:

lukaszadrapa_0-1683220374446.png

 In case of S32K146, there are two 512KB read partitions in program flash:

lukaszadrapa_1-1683220388332.png

So, you just crossed the partition.

Regards,

Lukas

 

0 件の賞賛
返信
943件の閲覧回数
Keane
Contributor I

Hi Lukas

Thanks for your reply . It really helps me a lot.

Best regards,

Keane

0 件の賞賛
返信