TI_STATUS openAuth_smSendAuthReq(auth_t *hAuth) { TI_STATUS status; status = auth_smMsgBuild(hAuth, 1, 0, NULL, 0); return status; }
TI_STATUS sharedKeyAuth_smSendAuth1(auth_t *hAuth) { TI_STATUS status; status = auth_smMsgBuild(hAuth, 1, 0, NULL, 0); return status; }
TI_STATUS sharedKeyAuth_smSendAuth2(auth_t *hAuth) { TI_STATUS status; /* GET SECRET */ /* ENCRYPT CHALLANGE WITH SECRET */ status = auth_smMsgBuild(hAuth, 3, 0, (TI_UINT8 *)(hAuth->authData.pChalange), hAuth->authData.challangeLen); return status; }