Lines Matching refs:sw1
471 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
483 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
485 if (rpdu.sw1 == SW1_BYTES_REMAINING) { in openLogicalChannel()
494 if ((rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) || (rpdu.sw1 == 0x62) || in openLogicalChannel()
495 (rpdu.sw1 == 0x63)) { in openLogicalChannel()
499 else if ((rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) || in openLogicalChannel()
500 (rpdu.sw1 == 0x69 && (rpdu.sw2 == 0x99 || rpdu.sw2 == 0x85))) { in openLogicalChannel()
504 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
653 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
665 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
666 if (rpdu.sw1 == SW1_BYTES_REMAINING) { in openBasicChannel()
674 if (((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) || (rpdu.sw1 == 0x62) || in openBasicChannel()
675 (rpdu.sw1 == 0x63)) { in openBasicChannel()
685 else if ((rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) || in openBasicChannel()
686 (rpdu.sw1 == 0x69 && (rpdu.sw2 == 0x99 || rpdu.sw2 == 0x85))) { in openBasicChannel()
690 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openBasicChannel()
746 if ((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) { in internalCloseChannel()
947 rpdu.sw1 = rspApdu.p_data[rspApdu.len - 2]; in getResponseInternal()
950 rpdu.sw1 = INVALID_LEN_SW1; in getResponseInternal()