CKU_SO = 0
CKU_USER = 1

CKF_USER_PIN_INITIALIZED = 0x00000008
CKF_TOKEN_INITIALIZED = 0x00000400

CKR_FUNCTION_FAILED = 0x6
CKR_ARGUMENTS_BAD = 0x7
CKR_OBJECT_HANDLE_INVALID = 0x82
CKR_PIN_INCORRECT = 0xA0
CKR_USER_NOT_LOGGED_IN = 0x101
CKR_USER_PIN_NOT_INITIALIZED = 0x102
CKR_CRYPTOKI_NOT_INITIALIZED = 0x190
BTC_KEY_NOT_FOUND = 0x80000000 + 1
BTC_KEY_ALREADY_EXISTS = BTC_KEY_NOT_FOUND + 1
