RT1020: ctr_nonce calculation algorithm, when is applied?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

RT1020: ctr_nonce calculation algorithm, when is applied?

Jump to solution
211 Views
mastupristi
Senior Contributor I

Hello,

I usually compute the ctr_nonce for BEE taking the nonce[127-32], and in the LSW I put address r-shifted by 4.

This is confirmed by documents:

mastupristi_0-1762101544221.png

 

and also by code provided by SDK examples:

mastupristi_1-1762101844856.png

I usually use SW key or SW_GP2 key, and this simple algorithm make BEE works well.

 

However, I found another algorithm, significantly more complex:

mastupristi_2-1762101967659.png

I wonder when this algorithm is used by BEE, and I would like more details on how H7 and H8 are used, because it is not clear from the drawing.

 

best regards

Max

Labels (1)
Tags (3)
0 Kudos
Reply
1 Solution
159 Views
Sam_Gao
NXP Employee
NXP Employee

However, I found another algorithm, significantly more complex....

@mastupristi What is your purpose? Please tell me the source of this screenshot, NXP's publicly available information has listed what can be disclosed.

View solution in original post

0 Kudos
Reply
1 Reply
160 Views
Sam_Gao
NXP Employee
NXP Employee

However, I found another algorithm, significantly more complex....

@mastupristi What is your purpose? Please tell me the source of this screenshot, NXP's publicly available information has listed what can be disclosed.

0 Kudos
Reply