232
Sun Crypto Accelerator 6000 Board User’s Guide for Version 1.1 • February 2013
uint8_tvalData[FS_3624_VALDATA_SIZE];
uint8_tcheckLen;
uint8_trefOffset[FS_3624_OFFSET_SIZE];
} ibm3624;
} fsPinData_t;
/*
* Card verification data - supports both CVV (visa/mastercard)
* and CSC (american express) card verification.
*/
typedef struct fsCardData {
fsPan_tpan;
uint8_texpDate[2];/* expiration date */
union {
struct {
uint8_trefCVV[2];
uint8_tservCode[2];/* service code */
} cvv;
struct {
uint8_t cscLen;
uint8_t refCSC[3];
} csc;
} data;
} fsCardData_t;
#if !defined(CPU_XSCALE) && !defined(_KERNEL)
/* Library prototypes */
/* general purpose routines */
fsLibHandle_tfs_lib_open(char *, fsReturn_t *);
fsReturn_tfs_lib_close(fsLibHandle_t);
fsSessHandle_tfs_session_open(fsLibHandle_t);
fsReturn_tfs_session_close(fsSessHandle_t);
/* PIN processing functions */
fsReturn_tfs_pin_verify(fsSessHandle_t, fsPinAlg_t, fsKey_t *,
fsKey_t *,
fsPan_t *, fsPin_t *, fsPinData_t *);
fsReturn_tfs_pin_translate(fsSessHandle_t, fsKey_t *, fsKey_t *,
fsPin_t *, fsPin_t *, fsPan_t *);
/* card processing functions */
fsReturn_tfs_card_verify(fsSessHandle_t, fsCardAlg_t, fsKey_t *,
fsPan_t *, fsCardData_t *);
EXAMPLE F-1
Financial Services Header File
(Continued)
Summary of Contents for Crypto Accelerator 6000 Board
Page 1: ...Sun Crypto Accelerator 6000 Board Version 1 1 User s Guide Part No E39851 01 February 2013...
Page 16: ...xvi Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 18: ...xviii Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 21: ...Preface xxi...
Page 22: ...xxii Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 54: ...32 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 118: ...96 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 210: ...188 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 228: ...206 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 242: ...220 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 256: ...234 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 260: ...238 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Page 266: ...244 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...