Home
last modified time | relevance | path

Searched refs:ifsc (Results 1 – 9 of 9) sorted by relevance

/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Diso7816_t1.c164 if (n > t1->ifsc) in write_iblock()
165 n = t1->ifsc, pcb = 0x20; in write_iblock()
201 buf[3] = t1->ifsc; in write_request()
218 if (n > t1->ifsc) in ack_iblock()
219 n = t1->ifsc; in ack_iblock()
307 t1->ifsc = buf[3]; in parse_request()
356 int c, y, tck, proto = 0, ifsc = -1; in parse_atr() local
371 if ((ifsc < 0) && ((y & 0x1F) == 0x11)) in parse_atr()
372 ifsc = c; in parse_atr()
381 t1->ifsc = (uint8_t)ifsc; in parse_atr()
[all …]
Diso7816_t1.h41 uint8_t ifsc; /* IFS for card */ member
/hardware/st/secure_element/ese-spi-driver/
DT1protocol.cc192 if (tpdu->len > ATP.ifsc) { in T1protocol_checkResponseLenConsistency()
508 TempTpdu->data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_sendRBlock()
592 ATP.ifsc = (uint8_t)lastRespTpduReceived->data[0]; in T1protocol_processSBlock()
758 TempTpdu->data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_doWTXResponse()
838 TempTpdu->data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_doResyncRequest()
876 TempTpdu->data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_doSoftReset()
1066 TempTpdu->data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_doRequestIFS()
1072 &ATP.ifsc, TempTpdu); in T1protocol_doRequestIFS()
1132 originalCmdTpdu.data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_transcieveApduPart()
1133 lastCmdTpduSent.data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_transcieveApduPart()
[all …]
DStEseApi.cc177 while (pCmdlen > ATP.ifsc) { in StEse_Transceive()
178 pTxBlock_len = ATP.ifsc; in StEse_Transceive()
DSpiLayerInterface.cc170 uint8_t* pRsp = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in SpiLayerInterface_setup()
/hardware/st/secure_element/ese-spi-driver/utils-lib/
DDataMgmt.cc86 if (data_len > ATP.ifsc) { in DataMgmt_StoreDataInList()
95 newNode->tData.data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in DataMgmt_StoreDataInList()
130 if (new_node->tData.len > ATP.ifsc) { in DataMgmt_GetDataFromList()
DAtp.cc24 Atp ATP = {.bwt = 0x0690, .checksumType = CRC, .ifsc = 0xFE};
116 tmpAtp.ifsc = (uint8_t)baAtp[IFSC_OFFSET_IN_ATP]; in Atp_setAtp()
DAtp.h61 uint8_t ifsc; member
DTpdu.cc249 dest->data = (uint8_t *)malloc(ATP.ifsc * sizeof(uint8_t)); in Tpdu_copy()
251 if (((src->len) > 0) && ((src->len) < ATP.ifsc)) { in Tpdu_copy()