Re: High CPU load with pcscd and Kerkey security Module
Oliver Graute <[email protected]> Wed, 23 Nov 2016 09:20:02 +0100
| Newsgroups | gmane.comp.lib.muscle |
|---|---|
| Message-ID | <CA+KjHfYinwgoyNZErpP8vZqb0E=7KJBxAWVc+zJJo9VDoGiFKg@mail.gmail.com> |
> > The high number of SCardTransmit() calls is not really surprising for me. > > The driver should just wait after the "card" to respond. Maybe the > /usr/lib/pcsc/drivers/kerkey/libccidkerkey.so driver is not efficient > and uses busy loops or other CPU intensive code. > I guess you do not have the source code of this part either? The used ccid code is available for me, there is one occurence of SCardTransmit() in function TransmitAPDU() in file pcsc.c Best Regards, Oliver