Lines Matching refs:resApduBuff

227   LogicalChannelResponse resApduBuff;  in openLogicalChannel()  local
231 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
232 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
237 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
263 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
274 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
278 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
280 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
305 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
317 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
318 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
321 0x40 + (resApduBuff.channelNumber - 4); /* Class of instruction */ in openLogicalChannel()
322 } else if ((resApduBuff.channelNumber > 0x00) && in openLogicalChannel()
323 (resApduBuff.channelNumber < 0x04)) { in openLogicalChannel()
325 cpdu.cla = resApduBuff.channelNumber; /* Class of instruction */ in openLogicalChannel()
328 resApduBuff.channelNumber); in openLogicalChannel()
329 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
330 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
357 resApduBuff.selectResponse.resize(responseLen); in openLogicalChannel()
358 memcpy(&resApduBuff.selectResponse[0], rpdu.pdata, rpdu.len); in openLogicalChannel()
359 resApduBuff.selectResponse[responseLen - 1] = rpdu.sw2; in openLogicalChannel()
360 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
379 internalCloseChannel(resApduBuff.channelNumber); in openLogicalChannel()
383 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
390 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()