Internal authenticate apdu, Reserved for future use – MagTek IntelliStripe 320 99875168 User Manual

Page 120

Advertising
background image

IntelliStripe 320 Command Reference

114

Response APDU:


SW1 SW2

Possible SW1/SW2 combinations:


SW1/SW2 Meaning
9000

Normal completion, no errors

6300

No bits to write, couldn’t erase

6700

Lc gives incorrect length

6B00

P2 is incorrect

Internal Authenticate APDU

The Internal Authenticate is used to authenticate the card to the hosting terminal.

If the Internal Authenticate is performed with CBC enabled, the CBC mode remains in effect
until the card is powered down.

The specified address is a bit address. It specifies the address of the bit where a Dummy Write is
performed to start the Authentication operation. For more details, see the Gemplus
documentation.

In the Authentication operation a value called M is used. This value is specified by agreement
with Gemplus. The user has control over this value via the GAM326 value of M property

Command APDU:


CLA INS P1

P2

Lc Data

Le

D0

88

CBC / Address

Address

06

xx xx xx xx xx xx 02

CLA is always D0

INS is always 88

P1 gives an indication of Cipher Block Chaining and the upper bits of the bit address to
be used to start the Authentication operation:
Bits

Usage

0

CBC indication, 0 = no CBC, 1 = CBC

1-7 Address

bits

P2 is the low order byte of the bit address used to start the Authentication operation.
Lc gives the length of the data to be used as the Random Number in the Authentication
operation, its value must always be 6.
Data is the Random Number to be used in the Authentication operation.
Le gives the length of the expected reply, which is always 2.

Advertising