Home
last modified time | relevance | path

Searched refs:wLen (Results 1 – 10 of 10) sorted by relevance

/hardware/nxp/nfc/halimpl/dnld/
DphDnldNfc.cc67 (gpphDnldContext->tRspBuffInfo.wLen) = 0; in phDnldNfc_Reset()
69 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_Reset()
119 if ((NULL != pVersionInfo->pBuff) && (0 != pVersionInfo->wLen)) { in phDnldNfc_GetVersion()
121 (gpphDnldContext->tRspBuffInfo.wLen) = pVersionInfo->wLen; in phDnldNfc_GetVersion()
125 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_GetVersion()
179 if ((NULL != pSession->pBuff) && (0 != pSession->wLen)) { in phDnldNfc_GetSessionState()
181 (gpphDnldContext->tRspBuffInfo.wLen) = pSession->wLen; in phDnldNfc_GetSessionState()
185 (gpphDnldContext->tUserData.wLen) = 0; in phDnldNfc_GetSessionState()
257 if ((NULL != pCRCData->pBuff) && (0 != pCRCData->wLen)) { in phDnldNfc_CheckIntegrity()
259 (gpphDnldContext->tRspBuffInfo.wLen) = pCRCData->wLen; in phDnldNfc_CheckIntegrity()
[all …]
DphDnldNfc_Utils.cc68 uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen) { in phDnldNfc_CalcCrc16() argument
74 if ((NULL == pBuff) || (0 == wLen)) { in phDnldNfc_CalcCrc16()
79 for (i = 0; i < wLen; i++) { in phDnldNfc_CalcCrc16()
DphDnldNfc_Internal.cc546 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_BuildFramePkt()
552 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tUserData.wLen); in phDnldNfc_BuildFramePkt()
557 if ((0 == (pDlContext->tRspBuffInfo.wLen)) || in phDnldNfc_BuildFramePkt()
564 wFrameLen = (pDlContext->tRspBuffInfo.wLen) + PHDNLDNFC_MIN_PLD_LEN; in phDnldNfc_BuildFramePkt()
568 (pDlContext->tRWInfo.wRemBytes) = (pDlContext->tRspBuffInfo.wLen); in phDnldNfc_BuildFramePkt()
579 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_BuildFramePkt()
780 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
783 (pDlContext->tUserData.wLen); in phDnldNfc_CreateFramePld()
790 (pDlContext->tUserData.pBuff), (pDlContext->tUserData.wLen)); in phDnldNfc_CreateFramePld()
792 if ((0 == (pDlContext->tUserData.wLen)) || in phDnldNfc_CreateFramePld()
[all …]
DphDnldNfc_Utils.h25 extern uint16_t phDnldNfc_CalcCrc16(uint8_t* pBuff, uint16_t wLen);
DphNxpNciHal_Dnld.cc379 (tData.wLen) = sizeof(bClkVal); in phNxpNciHal_fw_dnld_normal()
451 (tData.wLen) = sizeof(bClkVal); in phNxpNciHal_fw_dnld_force()
520 if ((0 != pRespBuff->wLen) && (NULL != pRespBuff->pBuff)) { in phNxpNciHal_fw_dnld_get_version_cb()
553 if ((NFCSTATUS_SUCCESS == wStatus) && (bExpectedLen == pRespBuff->wLen) && in phNxpNciHal_fw_dnld_get_version_cb()
655 tDnldBuff.wLen = sizeof(bGetVerRes); in phNxpNciHal_fw_dnld_get_version()
707 if ((3 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) { in phNxpNciHal_fw_dnld_get_sessn_state_cb()
786 tDnldBuff.wLen = sizeof(bGSnStateRes); in phNxpNciHal_fw_dnld_get_sessn_state()
876 (Data.wLen) = sizeof(phLibNfc_EELogParams_t); in phNxpNciHal_fw_dnld_log_read()
1056 if ((31 == (pRespBuff->wLen)) && (NULL != (pRespBuff->pBuff))) { in phNxpNciHal_fw_dnld_chk_integrity_cb()
1113 tDnldBuff.wLen = sizeof(bChkIntgRes); in phNxpNciHal_fw_dnld_chk_integrity()
[all …]
DphDnldNfc.h92 uint16_t wLen; /*Buffer length*/ member
/hardware/nxp/secure_element/ls_client/src/
DLsLib.cpp452 int32_t wLen = 0; in LSC_loadapplet() local
457 len_byte = Numof_lengthbytes(&temp_buf[offset], &wLen); in LSC_loadapplet()
459 if ((len_byte == 0) || (wLen <= 32)) { in LSC_loadapplet()
466 pTranscv_Info->sSendlength = wLen; in LSC_loadapplet()
467 memcpy(pTranscv_Info->sSendData, &temp_buf[offset], wLen); in LSC_loadapplet()
503 len_byte = Numof_lengthbytes(&temp_buf[offset], &wLen); in LSC_loadapplet()
506 wLen + len_byte + 2); in LSC_loadapplet()
577 int32_t wLen; in LSC_Check_KeyIdentifier() local
584 wLen = 0; in LSC_Check_KeyIdentifier()
615 wLen = 0; in LSC_Check_KeyIdentifier()
[all …]
/hardware/nxp/secure_element/libese-spi/p73/lib/
DphNxpEseDataMgr.cpp90 newNode->tData.wLen = data_len; in phNxpEse_StoreDatainList()
122 new_node->tData.wLen); in phNxpEse_GetDataFromList()
123 offset += new_node->tData.wLen; in phNxpEse_GetDataFromList()
DphNxpEseDataMgr.h25 uint16_t wLen; /* hold the length of the buffer */ member
/hardware/nxp/secure_element/ls_client/inc/
DLsLib.h532 uint8_t Numof_lengthbytes(uint8_t* read_buf, int32_t* wLen);