Lines Matching refs:resApduBuff

166   LogicalChannelResponse resApduBuff;  in openLogicalChannel()  local
170 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
171 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
176 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
202 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
213 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
217 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
219 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
244 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
256 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
257 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
260 0x40 + (resApduBuff.channelNumber - 4); /* Class of instruction */ in openLogicalChannel()
261 } else if ((resApduBuff.channelNumber > 0x00) && in openLogicalChannel()
262 (resApduBuff.channelNumber < 0x04)) { in openLogicalChannel()
264 cpdu.cla = resApduBuff.channelNumber; /* Class of instruction */ in openLogicalChannel()
267 resApduBuff.channelNumber); in openLogicalChannel()
268 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
269 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
296 resApduBuff.selectResponse.resize(responseLen); in openLogicalChannel()
297 memcpy(&resApduBuff.selectResponse[0], rpdu.pdata, rpdu.len); in openLogicalChannel()
298 resApduBuff.selectResponse[responseLen - 1] = rpdu.sw2; in openLogicalChannel()
299 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
318 internalCloseChannel(resApduBuff.channelNumber); in openLogicalChannel()
322 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
329 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()