version 0.9

This commit is contained in:
NIIBE Yutaka
2011-02-01 15:25:36 +09:00
parent 1180a22d66
commit 98048620ec
6 changed files with 48 additions and 7 deletions

View File

@@ -143,11 +143,15 @@ static const uint8_t extended_capabilities[] __attribute__ ((aligned (1))) = {
*/
0, /* Secure Messaging Algorithm: N/A (TDES=0, AES=1) */
0x00, 0x00, /* Max get challenge */
0x00, 0x00, /* max. length of cardholder certificate */
0x07, 0xfe, /* max. length of cardholder certificate (2KB - 2)*/
/* Max. length of command data */
(MAX_CMD_APDU_SIZE>>8), (MAX_CMD_APDU_SIZE&0xff),
/* Max. length of response data */
#if 0
(MAX_RES_APDU_SIZE>>8), (MAX_RES_APDU_SIZE&0xff),
#else
0x08, 0x00, /* the case of cardholder ceritificate */
#endif
};
/* Algorithm Attributes */