Lines Matching refs:resApduBuff
294 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
295 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
296 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
304 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
329 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
332 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
336 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
338 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
362 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
374 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
375 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
378 0x40 + (resApduBuff.channelNumber - 4); /* Class of instruction */ in openLogicalChannel()
379 } else if ((resApduBuff.channelNumber > 0x00) && in openLogicalChannel()
380 (resApduBuff.channelNumber < 0x04)) { in openLogicalChannel()
382 cpdu.cla = resApduBuff.channelNumber; /* Class of instruction */ in openLogicalChannel()
385 resApduBuff.channelNumber); in openLogicalChannel()
386 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
387 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
415 resApduBuff.selectResponse.resize(responseLen); in openLogicalChannel()
416 memcpy(&resApduBuff.selectResponse[0], rpdu.pdata, rpdu.len); in openLogicalChannel()
417 resApduBuff.selectResponse[responseLen - 1] = rpdu.sw2; in openLogicalChannel()
418 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
439 internalCloseChannel(resApduBuff.channelNumber); in openLogicalChannel()
443 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
450 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()