Home
last modified time | relevance | path

Searched refs:lc (Results 1 – 21 of 21) sorted by relevance

/hardware/st/secure_element/ese-spi-driver/utils-lib/
DCommandApdu.cc37 if (cmdApdu.lc > MAX_CMD_APDU_DATA_LENGTH) { in CommandApdu_toByteArray()
46 if (cmdApdu.lc > 0) { in CommandApdu_toByteArray()
47 commandApduArray[4] = cmdApdu.lc; in CommandApdu_toByteArray()
48 memcpy(commandApduArray + 5, cmdApdu.data, cmdApdu.lc); in CommandApdu_toByteArray()
73 if (cmdApdu.lc > 0) { in CommandApdu_getSize()
75 size += 1 + cmdApdu.lc; in CommandApdu_getSize()
96 int CommandApdu_formApduType4(char cla, char ins, char p1, char p2, char lc, in CommandApdu_formApduType4() argument
98 if (lc > MAX_CMD_APDU_DATA_LENGTH) { in CommandApdu_formApduType4()
106 cmdApdu->lc = lc; in CommandApdu_formApduType4()
107 if (lc > 0) { in CommandApdu_formApduType4()
[all …]
DCommandApdu.h30 char lc; member
64 int CommandApdu_formApduType4(char cla, char ins, char p1, char p2, char lc,
/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Apdu_Api.cpp142 __FUNCTION__, pCmd->lc, pCmd->le_type); in phNxpEse_7816_FrameCmd()
144 if (pCmd->lc > 0) { in phNxpEse_7816_FrameCmd()
153 cmd_total_len += pCmd->lc; /* add data length */ in phNxpEse_7816_FrameCmd()
161 __FUNCTION__, pCmd->lc); in phNxpEse_7816_FrameCmd()
218 *(pbuff + index) = pCmd->lc; in phNxpEse_7816_FrameCmd()
224 *(pbuff + index) = ((pCmd->lc & 0xFF00) >> 8); in phNxpEse_7816_FrameCmd()
226 *(pbuff + index) = (pCmd->lc & 0x00FF); in phNxpEse_7816_FrameCmd()
230 phNxpEse_memcpy((pbuff + index), pCmd->pdata, pCmd->lc); in phNxpEse_7816_FrameCmd()
231 index += pCmd->lc; in phNxpEse_7816_FrameCmd()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/inc/
DphNxpEse_Apdu_Api.h45 uint16_t lc; /*!< No of data present in the data field of the command */ member
/hardware/nxp/secure_element/snxxx/1.0/
DVirtualISO.cpp275 cpdu.lc = aid.size(); in openLogicalChannel()
278 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openLogicalChannel()
362 cpdu.lc = aid.size(); in openBasicChannel()
365 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openBasicChannel()
452 cpdu.lc = 0x00; in internalCloseChannel()
511 cpdu.lc = 0x00; in closeChannel()
DSecureElement.cpp331 cpdu.lc = aid.size(); in openLogicalChannel()
334 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openLogicalChannel()
422 cpdu.lc = aid.size(); in openBasicChannel()
425 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openBasicChannel()
517 cpdu.lc = 0x00; in internalCloseChannel()
575 cpdu.lc = 0x00; in closeChannel()
/hardware/nxp/secure_element/snxxx/1.1/
DVirtualISO.cpp336 cpdu.lc = aid.size(); in openLogicalChannel()
339 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openLogicalChannel()
423 cpdu.lc = aid.size(); in openBasicChannel()
426 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openBasicChannel()
512 cpdu.lc = 0x00; in internalCloseChannel()
561 cpdu.lc = 0x00; in closeChannel()
DSecureElement.cpp393 cpdu.lc = (uint16_t)aid.size(); in openLogicalChannel()
396 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openLogicalChannel()
485 cpdu.lc = (uint16_t)aid.size(); in openBasicChannel()
488 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openBasicChannel()
578 cpdu.lc = 0x00; in internalCloseChannel()
/hardware/nxp/secure_element/snxxx/1.2/
DVirtualISO.cpp347 cpdu.lc = aid.size(); in openLogicalChannel()
350 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openLogicalChannel()
439 cpdu.lc = aid.size(); in openBasicChannel()
442 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openBasicChannel()
528 cpdu.lc = 0x00; in internalCloseChannel()
577 cpdu.lc = 0x00; in closeChannel()
DSecureElement.cpp443 cpdu.lc = (uint16_t)aid.size(); in openLogicalChannel()
446 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openLogicalChannel()
580 cpdu.lc = (uint16_t)aid.size(); in openBasicChannel()
583 memcpy(cpdu.pdata, aid.data(), cpdu.lc); in openBasicChannel()
673 cpdu.lc = 0x00; in internalCloseChannel()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/build/android/
Dshared.mk38 LLINK = -lc
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/build/android/
Dshared.mk38 LLINK = -lc
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/build/android/
Dshared.mk55 LLINK = -lc
/hardware/invensense/6515/libsensors_iio/software/core/mpl/build/android/
Dshared.mk51 LLINK = -lc
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/build/android/
Dshared.mk54 LLINK = -lc
/hardware/invensense/6515/libsensors_iio/software/core/mllite/build/android/
Dshared.mk51 LLINK = -lc
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/build/android/
Dshared.mk57 LLINK = -lc
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/build/android/
Dshared.mk59 LLINK = -lc
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/build/android/
Dshared.mk59 LLINK = -lc
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/build/android/
Dshared.mk57 LLINK = -lc
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h126 gralloc1_error_t setLayerCount(uint32_t lc) { in setLayerCount()
127 layerCount = lc; in setLayerCount()