commit | 672a96044c89243f37e73209b2e4edd72e7c9498 | [log] [tgz] |
---|---|---|
author | Eric Wild <ewild@sysmocom.de> | Sat Oct 17 01:02:39 2020 +0200 |
committer | Eric Wild <ewild@sysmocom.de> | Sat Oct 17 19:23:01 2020 +0200 |
tree | bc39b3a7aa82b1616e358741435cfddeb378282d | |
parent | 41177fe0849d1858e777645e44d9120aac22732f [diff] |
ccid xfers: return proper error to host instead of asserting This could have led to hangs when trying T=1 data blobs where the length field is not the T=0 length field and is therefore misinterpreted. Closes: OS#4805 Change-Id: Iacdf60e4401f8e287f60ea148b0944d0a3de491d
This repository contains a C-language implementation of the USB CCID (Smart Card Reader) device class. The code is written in a portable fashin and can be found in the ccid_common
sub-directory.
The code can be built to run as an userspace program on Linux, implementing a USB Gadget using the FunctionFS interface. For this version, see the ccid_host
subdirectory.
The CCID code can also be built into a firmware for the sysmoOCTSIM 8-slot high-performance USB smart card reader.
Discussions related to osmo-ccid-firmware are happening on the slightly unrelated simtrace@lists.osmocom.org mailing list, please see https://lists.osmocom.org/mailman/listinfo/simtrace for subscription options and the list archive.
Please observe the Osmocom Mailing List Rules when posting.
Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards
We us a gerrit based patch submission/review process for managing contributions. Please see https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit for more details
The current patch queue for osmo-ccid-firmware can be seen at https://gerrit.osmocom.org/#/q/project:osmo-ccid-firmware+status:open