Re: [opensc-devel] Questions on SM implementation

2012-07-04 Thread Viktor Tarasov
Hello, Le 04/07/2012 00:06, Frank Morgner a écrit : > In OpenSC, the caller allocates memory if needed, afaik. Is there a > specific reason why sc_single_sm_transmit breaks with this approach when > getting the SM APDU? Difficult to divine what you mean. Is it card specific 'free-sm-apdu' called

Re: [opensc-devel] Questions on SM implementation

2012-07-03 Thread Frank Morgner
Hi! In OpenSC, the caller allocates memory if needed, afaik. Is there a specific reason why sc_single_sm_transmit breaks with this approach when getting the SM APDU? > > 1. In struct sm_secure_channel, what is the difference between the > >keyset and the session? The GP/CWA structures of keys

Re: [opensc-devel] Questions on SM implementation

2012-07-01 Thread Viktor Tarasov
Hello, Le 30/06/2012 00:25, Frank Morgner a écrit : > 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

[opensc-devel] Questions on SM implementation

2012-06-29 Thread Frank Morgner
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.