Commit Graph

11 Commits

Author SHA1 Message Date
frankmorgner
6921cae6d9 - made debugging of openssl errors human readable
- removed debugging of return values, added human readable messages instead


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@161 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-21 16:17:13 +00:00
frankmorgner
d40f91b505 added PACE features to ccid-emulator (untested)
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@152 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-16 21:06:30 +00:00
frankmorgner
e02e2abdfb - dropped pace_transmit_apdu in favour of a solution with sm_transmit_apdu.
post_transmit and pre_transmit can be used to perform actions before
  encrypting/decrypting a sm apdu (such as incrementing the ssc for pace).
- fixed ssc problems. encrypted communication with more than one apdu (e.g.
  resuming the pin) is now working.
- fixed uninitialized pointer in sm_decrypt


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@131 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-05 14:34:50 +00:00
frankmorgner
c88e4892ac fixed uninitialized pointer which caused segfault on decryption.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@130 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-04 21:34:25 +00:00
frankmorgner
bfcd6dafbb added error messages
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@128 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-06-03 22:17:18 +00:00
frankmorgner
7fd92afc4f removed some messages, when less verbose. fixed little endian problem when parsing input buffer of EstablishPACEChannel.
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@111 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-26 20:32:29 +00:00
frankmorgner
34b91882da fixed class byte generation for sm apdu
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@110 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-20 19:26:16 +00:00
frankmorgner
72e4434fb4 - sm_transmit_apdu doesn't check SWs anymore
- not throwing error for sw=63XX in mse:set at


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@109 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-20 18:26:56 +00:00
frankmorgner
894d5be379 - using short apdus for mse:set at and generic authenticate. to make it work with the sm implementation
- added parameter oldpacectx to EstablishPACEChannel to allow a a new PACE connection inside an exitsting PACE connection (the output buffer of the latter connection must be provided since it stores the ef.cardaccess)
- added functionality to ask for the secret in pace_reset_retry_counter
- added macro pace_change_pin
- SWs were stored at the wrong place of the output buffer from EstablishPACEChannel, fixed.
- split up functionality of pace_test into multiple functions
- added new command line option to pace-tool to resume the pin. resuming the pin is not working, yet.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@108 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-20 08:17:38 +00:00
frankmorgner
7afe91373f moved bin_log to scutil
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@100 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-08 14:44:19 +00:00
frankmorgner
e0cf5e270f fixed include in pace.c. switched to autotools
git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@93 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-05-07 11:50:54 +00:00