LS1043a Security Engine-DES Encryption Problem

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

LS1043a Security Engine-DES Encryption Problem

295件の閲覧回数
ridvan
Contributor I

Hello everyone,

We are trying to encrypt an array in the RAM with the ECB mode of the DES(Data Encryption Standart) that is supported by the DESA in SEC. According to DESA, encryption result is stored on the DESA Context Register. When we get the value of the DESA Context Register, we get 0 all times in this case. When we look at the job termination status word/error codes in this case, it states that the job has no error, it is completed successfully.  According to SEC Manual Reference, SEC categorizes the algorithms into two groups. These are Class1 algorithms and Class2 algorithms. When we try to get the hash value of the this array with any Class2 algorithms such as MD5 or SHA-1, we get the hash value of this array successfully. When we look at the job termination status word/error codes in this case, it also states that the job is completed successfully. Our job description format as follows: 

Job descripor header - key command - algorithm command - fifo load command - store command 


In summary, when we use the Class1 algorithms, we can not the results  but there is no error in the  job termination status word/error codes. Is there any differences of working mechanisms of the Class1 and Class2 algorithms. Why we can not the results from the Context Register Registers of the any Class2 algorithms such as DESA or AESA. Can you help us?

Thank you for your attention,

Sincerely,

0 件の賞賛
返信
1 返信

248件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following update from the AE team.

Please ask customer share their job descriptor for DES_ECB.

Can I know which software platform customer is running? u-boot, Linux? or other?
Did customer use job ring to send job descriptor to SEC?

Please let customer try fifo store command instead of store.

0 件の賞賛
返信