Home
last modified time | relevance | path

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

/hardware/st/secure_element/ese-spi-driver/utils-lib/
DAtp.cc41 uint16_t Atp_getChecksumValue(uint8_t *array, int checksumStartPosition) { in Atp_getChecksumValue() argument
42 return (uint16_t)((uint8_t)array[checksumStartPosition + 1] << 8) | in Atp_getChecksumValue()
43 (uint8_t)array[checksumStartPosition]; in Atp_getChecksumValue()
DTpdu.cc199 uint16_t Tpdu_getChecksumValue(uint8_t *array, int checksumStartPosition, in Tpdu_getChecksumValue() argument
203 return (uint16_t)array[checksumStartPosition]; in Tpdu_getChecksumValue()
205 return (uint16_t)(array[checksumStartPosition + 1] << 8) | in Tpdu_getChecksumValue()
206 array[checksumStartPosition]; in Tpdu_getChecksumValue()
DAtp.h79 uint16_t Atp_getChecksumValue(uint8_t *array, int checksumStartPosition);
DTpdu.h109 uint16_t Tpdu_getChecksumValue(uint8_t *array, int checksumStartPosition,