Home | History | Annotate | Download | only in spiceccid

Lines Matching refs:Length

123     reply[2] = htonl(sizeof(uint32_t)); // length
193 ccid->atr_len = h->length;
194 if (h->length > sizeof(ccid->atr)) {
195 fprintf(stderr, "Supplied ATR of length %d exceeds %d maximum\n",
196 h->length, sizeof(ccid->atr));
210 push_apdu(ccid, data, h->length);
212 fprintf(stderr, "apdu of length %d discarded; inactive reader\n", h->length);
229 h.length = ntohl(*p++);
231 if (len < sizeof(h) || len < sizeof(h) + h.length)
236 process_reader_add(ccid, &h, h.length > 0 ? buf + sizeof(h) : NULL);
244 process_atr(ccid, &h, h.length > 0 ? buf + sizeof(h) : NULL);
252 process_apdu(ccid, &h, h.length > 0 ? buf + sizeof(h) : NULL);
256 fprintf(stderr, "spiceccid %s: unknown smartcard message %d / %d\n", __FUNCTION__, h.type, sizeof(h) + h.length);
260 return(h.length + sizeof(h));
310 msg[2] = htonl(sizeof(uint32_t) * 3); // length
393 RESPONSECODE IFDHGetCapabilities(DWORD Lun, DWORD Tag, PDWORD Length, PUCHAR Value)
395 fprintf(stderr, "spiceccid %s unsupported: Lun %ld, Tag %ld, Length %ld, Value %p\n", __FUNCTION__, Lun, Tag, *Length, Value);
400 RESPONSECODE IFDHSetCapabilities(DWORD Lun, DWORD Tag, DWORD Length, PUCHAR Value)