Memory update Protocol / update SHE KEY

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

Memory update Protocol / update SHE KEY

2,413 Views
Mahendran
Contributor I

Hello Team,

We have requirement to use Key id 1 for Master ECU key and key id 4 for Kmac. I have configured diagnostic job to update the Key Slot in SHE Module.

I am struggling to generate M1.. M5 value for AES128 algo  to update key for the development purpose.

Could you please let me know is there any standard tool or script available to generate M1, M2, M3, M4, M5 values for the Key for AES 128 algorithm.

Best regards,

Mahendran

 

 

Tags (1)
0 Kudos
Reply
3 Replies

2,408 Views
nxf45548
NXP Employee
NXP Employee

@Mahendran

To provide you with better support, can you please let us know the NXP part number that you are using? 
Are you using a Kinetis, S32K, iMx? 

Regards, 

Susi

0 Kudos
Reply

517 Views
KaleRushikesh
Contributor I
I am also struggling with calculation of M1,M2,M3,M4 and M5 computation. I am working with S32k3xx development board.
I have one question, as we need ECU Master key to update any SHE-Key, but what is the default ECU master Key? And If i want to update ECU master key itself what will be the values for CID', AuthID, Authentication key value(K_AuthID).
0 Kudos
Reply

447 Views
KaleRushikesh
Contributor I
Any updates
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1408222%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMemory%20update%20Protocol%20%2F%20update%20SHE%20KEY%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1408222%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%20Team%2C%3C%2FP%3E%3CP%3EWe%20have%20requirement%20to%20use%20Key%20id%201%20for%20Master%20ECU%20key%20and%20key%20id%204%20for%20Kmac.%20I%20have%20configured%20diagnostic%20job%20to%20update%20the%20Key%20Slot%20in%20SHE%20Module.%3C%2FP%3E%3CP%3EI%20am%20struggling%20to%20generate%20M1..%20M5%20value%20for%20AES128%20algo%26nbsp%3B%20to%20update%20key%20for%20the%20development%20purpose.%3C%2FP%3E%3CP%3ECould%20you%20please%20let%20me%20know%20is%20there%20any%20standard%20tool%20or%20script%20available%20to%20generate%20M1%2C%20M2%2C%20M3%2C%20M4%2C%20M5%20values%20for%20the%20Key%20for%20AES%20128%20algorithm.%3C%2FP%3E%3CP%3EBest%20regards%2C%3C%2FP%3E%3CP%3EMahendran%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2328357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Memory%20update%20Protocol%20%2F%20update%20SHE%20KEY%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2328357%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EI%20am%20also%20struggling%20with%20calculation%20of%20M1%2CM2%2CM3%2CM4%20and%20M5%20computation.%20I%20am%20working%20with%20S32k3xx%20development%20board.%3CBR%20%2F%3EI%20have%20one%20question%2C%20as%20we%20need%20ECU%20Master%20key%20to%20update%20any%20SHE-Key%2C%20but%20what%20is%20the%20default%20ECU%20master%20Key%3F%20And%20If%20i%20want%20to%20update%20ECU%20master%20key%20itself%20what%20will%20be%20the%20values%20for%20CID'%2C%20AuthID%2C%20Authentication%20key%20value(K_AuthID).%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1408308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Memory%20update%20Protocol%20%2F%20update%20SHE%20KEY%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1408308%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F196465%22%20target%3D%22_blank%22%3E%40Mahendran%3C%2FA%3E%2C%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ETo%20provide%20you%20with%20better%20support%2C%20can%20you%20please%20let%20us%20know%20the%20NXP%20part%20number%20that%20you%20are%20using%3F%26nbsp%3B%3CBR%20%2F%3EAre%20you%20using%20a%20Kinetis%2C%20S32K%2C%20iMx%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3ERegards%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESusi%3C%2FP%3E%3C%2FLINGO-BODY%3E