Home
last modified time | relevance | path

Searched refs:TPDU_PROLOGUE_LENGTH (Results 1 – 4 of 4) sorted by relevance

/hardware/st/secure_element/ese-spi-driver/utils-lib/
DTpdu.cc96 computeCrc(buffer, (TPDU_PROLOGUE_LENGTH + tpdu->len))) { in Tpdu_isChecksumOk()
155 tpdu->checksum = computeCrc(buffer, (TPDU_PROLOGUE_LENGTH + tpdu->len)); in Tpdu_formTpdu()
DTpdu.h40 #define TPDU_PROLOGUE_LENGTH 3 macro
/hardware/st/secure_element/ese-spi-driver/
DSpiLayerComm.cc199 txBufferLength = TPDU_PROLOGUE_LENGTH + cmdTpdu->len + TPDU_LRC_LENGTH; in SpiLayerComm_writeTpdu()
202 txBufferLength = TPDU_PROLOGUE_LENGTH + cmdTpdu->len + TPDU_CRC_LENGTH; in SpiLayerComm_writeTpdu()
DT1protocol.cc110 uint8_t arrayTpdu[TPDU_PROLOGUE_LENGTH + respTpdu->len + TPDU_CRC_LENGTH]; in T1protocol_checkResponseTpduChecksum()
112 if (computeCrc(arrayTpdu, TPDU_PROLOGUE_LENGTH + respTpdu->len) != in T1protocol_checkResponseTpduChecksum()
557 uint8_t buffer[TPDU_PROLOGUE_LENGTH + responseTpdu->len + TPDU_CRC_LENGTH]; in T1protocol_formSblockResponse()
560 computeCrc(buffer, (TPDU_PROLOGUE_LENGTH + responseTpdu->len)); in T1protocol_formSblockResponse()