228
Sun Crypto Accelerator 6000 Board User’s Guide for Version 1.1 • February 2013
fsVerifyFail,/* verification failed (card or PIN) */
fsInvalidKey,
fsInvalidPEK,/* invalid PIN encryption key */
fsInvalidPVK,/* invalid PIN verification key */
fsInvalidPVKI,/* invalid PVK index */
fsInvalidCVK,/* invalid card verification key */
fsInvalidKEK,/* invalid key encryption key */
fsInvalidKeyType,
fsInvalidKeyUsage,
fsBufferTooSmall,
fsInvalidArgs,
fsInvalidHandle,
fsNoMem,/* memory allocation failure */
fsInvalidPin,/* pin block corrupt */
fsInvalidPinType,/* invalid pin block format */
fsInvalidDectbl,
fsInvalidPan,
fsInvalidCmd,
fsInvalidState,
fsNotInitialized,
fsNotFound,
fsInvalidLibVersion
} fsReturn_t;
/* fs state */
typedef enum {
fsStateUninit,
fsStateNormalMode,/* core functionality enabled */
fsStateSensitiveMode,/* import/export key enabled */
fsStateTestMode,/* Test mode enabled */
fsStateMfkChange/* mfk change in progress */
} fsState_t;
/* Supported Personal Identification Number (PIN) algorithms */
typedef enum fsPinAlg {
PVV = 1,
IBM3624
} fsPinAlg_t;
/* supported magnetic/credit card algorithms */
typedef enum fsCardAlg {
CVV,
CSC
} fsCardAlg_t;
/* MAC'ing Algorithms - used by fs_mac_generate/fs_mac_verify */
typedef enum fsMacAlg {
EXAMPLE F-1
Financial Services Header File
(Continued)
Содержание Crypto Accelerator 6000 Board
Страница 1: ...Sun Crypto Accelerator 6000 Board Version 1 1 User s Guide Part No E39851 01 February 2013...
Страница 16: ...xvi Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 18: ...xviii Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 21: ...Preface xxi...
Страница 22: ...xxii Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 54: ...32 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 118: ...96 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 210: ...188 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 228: ...206 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 242: ...220 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 256: ...234 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 260: ...238 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...
Страница 266: ...244 Sun Crypto Accelerator 6000 Board User s Guide for Version 1 1 February 2013...