Hi! I have some more questions on the SM implementations of OpenSC, that I could not find a quick answer in the source code:
1. In struct sm_secure_channel, what is the difference between the keyset and the session? The GP/CWA structures of keysets and sessions all hold cryptographic keys. 2. Which roles play host_challenge and card_challenge in struct sm_secure_channel? AFAIK, an SM channel does not depend on a nonce. 3. Have you thought about unifying struct sm_module_operations and struct sm_card_operations? The operations open/initialize, get_sm_apdu/get_apdus, close/finalize essentially seem to do the same. -- Frank Morgner Virtual Smart Card Architecture http://vsmartcard.sourceforge.net OpenPACE http://openpace.sourceforge.net IFD Handler for libnfc Devices http://sourceforge.net/projects/ifdnfc
pgp0mjRWKuH1Q.pgp
Description: PGP signature
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel