how to switch from SL1 to SL3 for Mifare plus x card on nxp library(NDA)

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

how to switch from SL1 to SL3 for Mifare plus x card on nxp library(NDA)

695 Views
huliping
Contributor I

hi,how to switch from SL1 to SL3 for Mifare plus x card on nxp library(NDA)? thank you very much.

 

i have signed the NDA,it have the mfp components of the nxp,i have enter the SL1,but i don't know how to enter SL3,how can i do it,

 

below is my code

1.

/*   SL0*/

memset(TemBuf,0x00,16);//key
uiRet = phalMfp_WritePerso(palMfp,1,0x9000,TemBuf);

memset(TemBuf,0x00,16);//key
uiRet = phalMfp_WritePerso(palMfp,1,0x9001,TemBuf);

memset(TemBuf,0x00,16);//key
uiRet = phalMfp_WritePerso(palMfp,1,0x9002,TemBuf);

memset(TemBuf,0x00,16);//key
uiRet = phalMfp_WritePerso(palMfp,1,0x9003,TemBuf);

uiRet = phalMfp_CommitPerso(palMfp, 1);//personal

 

SL0:above code id ok,it can enter SL1.

 

2.

/*SL2/3*/

how can i enter SL2 or SL3 ?

 

should i select phalMfp_AuthenticateSL1? or select phalMfp_AuthenticateSL2? or select phalMfp_AuthenticateSL3?

how can i set the argument?thank you very much.

 

(1)phalMfp_AuthenticateSL1(palMfp, 1,1,0x9003, 0, 0,16, TemBuf, 0,PcdCap2In,PdCap1,PdCap2);

 

(2)phalMfp_AuthenticateSL2(palMfp, 1,0,0x9002, 0, 0,16, TemBuf, 0,PcdCap2In,PdCap1,PdCap2,pKmf);

 

(3)phalMfp_AuthenticateSL3(palMfp,0,0x9003, 0, 0,16, TemBuf, 0,PcdCap2In,PdCap1,PdCap2);

 

if i set those argument,it will be error,how can i do it?thank you very much.

0 Kudos
1 Reply

606 Views
Jonathan_Iglesias
NXP TechSupport
NXP TechSupport

Dear zoro zhang,

Hope you are doing great, as your correctly stated this is under NDA, this means that all the information, tools and support should be delivered using secured communication channels and only to customers with active NDA, since this is a public community this is not the correct communication channel to discuss this topics under NDA. I am going to contact you directly to solve the issue. 

Have a great day !
BR

Jonathan

0 Kudos