Home
last modified time | relevance | path

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

/hardware/st/secure_element/ese-spi-driver/utils-lib/
DCommandApdu.cc34 int CommandApdu_toByteArray(CommandApdu cmdApdu, char* commandApduArray) { in CommandApdu_toByteArray() argument
41 commandApduArray[0] = cmdApdu.cla; in CommandApdu_toByteArray()
42 commandApduArray[1] = cmdApdu.ins; in CommandApdu_toByteArray()
43 commandApduArray[2] = cmdApdu.p1; in CommandApdu_toByteArray()
44 commandApduArray[3] = cmdApdu.p2; in CommandApdu_toByteArray()
47 commandApduArray[4] = cmdApdu.lc; in CommandApdu_toByteArray()
48 memcpy(commandApduArray + 5, cmdApdu.data, cmdApdu.lc); in CommandApdu_toByteArray()
52 commandApduArray[commandApduArraySize - 1] = cmdApdu.le; in CommandApdu_toByteArray()