Differences From Artifact [195b1c0ba3]:
- File
cackey.c
— part of check-in
[8aec474c2b]
at
2010-10-10 09:10:13
on branch trunk
— CACKey 0.5.20
Updated CACKey to not require pReserved to be set to NULL
Fixed bug where Sign and Decrypt operations would not terminate correctly (user: rkeene, size: 172403) [annotate] [blame] [check-ins using]
To Artifact [426f7e236e]:
- File
cackey.c
— part of check-in
[ec1f93c869]
at
2010-10-15 09:53:09
on branch trunk
— Added mostly-compiling Win32 support
Added local copy of RSA PKCS#11 (user: rkeene, size: 172485) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
162 163 164 165 166 167 168 169 170 171 172 173 174 175 | /** Applet IDs **/ #define GSCIS_AID_CCC 0xA0, 0x00, 0x00, 0x01, 0x16, 0xDB, 0x00 /* Maximum size of data portion of APDUs */ /** Do not set this above 250 **/ #define CACKEY_APDU_MTU 250 #ifdef CACKEY_DEBUG # ifdef HAVE_TIME_H # include <time.h> static time_t cackey_debug_start_time = 0; # define CACKEY_DEBUG_PRINTTIME { if (cackey_debug_start_time == 0) { cackey_debug_start_time = time(NULL); }; fprintf(stderr, "[%lu]: ", (unsigned long) (time(NULL) - cackey_debug_start_time)); } # else | > > > > > | 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 | /** Applet IDs **/ #define GSCIS_AID_CCC 0xA0, 0x00, 0x00, 0x01, 0x16, 0xDB, 0x00 /* Maximum size of data portion of APDUs */ /** Do not set this above 250 **/ #define CACKEY_APDU_MTU 250 /* ATR If not available */ #ifndef MAX_ATR_SIZE #define MAX_ATR_SIZE 1024 #endif #ifdef CACKEY_DEBUG # ifdef HAVE_TIME_H # include <time.h> static time_t cackey_debug_start_time = 0; # define CACKEY_DEBUG_PRINTTIME { if (cackey_debug_start_time == 0) { cackey_debug_start_time = time(NULL); }; fprintf(stderr, "[%lu]: ", (unsigned long) (time(NULL) - cackey_debug_start_time)); } # else |
︙ | ︙ |