Hello Juan Antonio,
Le 31/05/2011 13:02, jons...@terra.es a écrit : > Hi, Viktor: > > > [...] > > > > Provide functions for start/stop/testAndSet SM > > > New card member 'SM context' will be added to sc_card structure. > > > There will be the placeholder for the SM related card/exrternal-module > > handlers, session data, etc. > > > Every one will find the possibility to implement what he looks for > > > -- integrated or external SM handlers, 'transmit' or/and 'acl' modes, > > CWA or GP protocols, ... > > OK. I missunderstood meaning of SM context :-( > > I've been studing opensc-sm branch to port sm_context_t and related > structures to OpenDNIe... > Fortunately for me changes in dnie code are minimal, but... > > - As SM branch had no changes in several months, I'm unsure about if I can > use the code > (at least data structures) as "definitive", or should I wait for new commits > into opensc 'opensc-sm' is rather experimental branch and when it's ported into the main one the data structures will be changed . I hope to come back to SM during the following one-two weeks. > > > > BTW: there are some SM related APDU responses that aren't included > > > > in iso7816.c file. I can provide you proper patch to add them. > > > Yes, some code are missing, your proper patch are heartily welcome . > > Attached comes my proposed patch. > > - Add sw12 response 6688 "Cryptographic checksum invalid" > > - Defines some SC_ERROR_SM_xx error codes > > - Changes sw12 6987 and 6988 error codes to SM related ones > > Any news?. According to roadmap [1] SM is next step... :-). Sorry, OpenSC is essential, but not my principal activity . Will try to do my best . > In the meanwhile, I've been working a lot in commenting, cleanup& test > OpenDNIe. You'll like it :-) Certainly, always ready to admire the work of others :-) > Regards. > Juan Antonio Kind regards, Viktor. _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel