Searched refs:commandApduArray (Results 1 – 1 of 1) sorted by relevance
34 int CommandApdu_toByteArray(CommandApdu cmdApdu, char* commandApduArray) { in CommandApdu_toByteArray() argument41 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()