Lines Matching refs:sw1
553 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openLogicalChannel()
565 resApduBuff.selectResponse[responseLen - 2] = rpdu.sw1; in openLogicalChannel()
567 if (rpdu.sw1 == SW1_BYTES_REMAINING) { in openLogicalChannel()
576 if ((rpdu.sw1 == 0x90 && rpdu.sw2 == 0x00) || (rpdu.sw1 == 0x62) || in openLogicalChannel()
577 (rpdu.sw1 == 0x63)) { in openLogicalChannel()
581 else if ((rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) || in openLogicalChannel()
582 (rpdu.sw1 == 0x69 && (rpdu.sw2 == 0x99 || rpdu.sw2 == 0x85))) { in openLogicalChannel()
586 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openLogicalChannel()
725 if (rpdu.len > 0 && (rpdu.sw1 == 0x64 && rpdu.sw2 == 0xFF)) { in openBasicChannel()
737 result[responseLen - 2] = rpdu.sw1; in openBasicChannel()
738 if (rpdu.sw1 == SW1_BYTES_REMAINING) { in openBasicChannel()
746 if (((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) || (rpdu.sw1 == 0x62) || in openBasicChannel()
747 (rpdu.sw1 == 0x63)) { in openBasicChannel()
757 else if ((rpdu.sw1 == 0x6A && rpdu.sw2 == 0x82) || in openBasicChannel()
758 (rpdu.sw1 == 0x69 && (rpdu.sw2 == 0x99 || rpdu.sw2 == 0x85))) { in openBasicChannel()
762 else if (rpdu.sw1 == 0x6A && rpdu.sw2 == 0x86) { in openBasicChannel()
817 if ((rpdu.sw1 == 0x90) && (rpdu.sw2 == 0x00)) { in internalCloseChannel()
1035 rpdu.sw1 = rspApdu.p_data[rspApdu.len - 2]; in getResponseInternal()
1038 rpdu.sw1 = INVALID_LEN_SW1; in getResponseInternal()