SE050 Authenticated session with feature ID

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

SE050 Authenticated session with feature ID

881 次查看
AnnaKalpa
Contributor I

Hello,

i'm trying to open an authenticated session in this way:

retval = (ex_sss_se05x_prepare_host(&pCtx->host_session, &pCtx->host_ks, pConnectCtx, &pCtx->ex_se05x_auth, kSSS_AuthType_ECKey) == kStatus_SSS_Success);
retval = retval && (sss_session_open(pSession, kType_SSS_SE_SE05x, kSE05x_AppletResID_FEATURE, kSSS_ConnectionType_Encrypted, pConnectCtx) == kStatus_SSS_Success);

The first one is wrapped on the mbedTLS functions and has a positive result.

The second one instead calls the se050x functions and fails at the "nxECKey_InternalAuthenticate" level when it sends the APDU message receiving the error 0x6982 (SW_SECURITY_STATUS_NOT_SATISFIED).

There is someone that can explain me why it doesn't work? or if i miss same previous step/configurations??

Thank you so much,

Anna

标记 (1)
0 项奖励
回复
0 回复数