Lines Matching refs:resApduBuff
224 LogicalChannelResponse resApduBuff; in openLogicalChannel() local
225 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
226 memset(&resApduBuff, 0x00, sizeof(resApduBuff)); in openLogicalChannel()
234 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
259 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
270 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
274 resApduBuff.channelNumber = rspApdu.p_data[0]; in openLogicalChannel()
276 mOpenedChannels[resApduBuff.channelNumber] = true; in openLogicalChannel()
300 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()
312 if ((resApduBuff.channelNumber > 0x03) && in openLogicalChannel()
313 (resApduBuff.channelNumber < 0x14)) { in openLogicalChannel()
316 0x40 + (resApduBuff.channelNumber - 4); /* Class of instruction */ in openLogicalChannel()
317 } else if ((resApduBuff.channelNumber > 0x00) && in openLogicalChannel()
318 (resApduBuff.channelNumber < 0x04)) { in openLogicalChannel()
320 cpdu.cla = resApduBuff.channelNumber; /* Class of instruction */ in openLogicalChannel()
323 resApduBuff.channelNumber); in openLogicalChannel()
324 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
325 _hidl_cb(resApduBuff, SecureElementStatus::IOERROR); in openLogicalChannel()
353 resApduBuff.selectResponse.resize(responseLen); in openLogicalChannel()
354 memcpy(&resApduBuff.selectResponse[0], rpdu.pdata, rpdu.len); in openLogicalChannel()
355 resApduBuff.selectResponse[responseLen - 1] = rpdu.sw2; in openLogicalChannel()
356 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
377 internalCloseChannel(resApduBuff.channelNumber); in openLogicalChannel()
381 resApduBuff.channelNumber = 0xff; in openLogicalChannel()
388 _hidl_cb(resApduBuff, sestatus); in openLogicalChannel()