Refactor CTAP2 file structure.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
@@ -112,6 +112,48 @@ typedef struct {
|
||||
#define CTAP_SW_COMMAND_NOT_ALLOWED 0x6986 // SW_COMMAND_NOT_ALLOWED
|
||||
#define CTAP_SW_INS_NOT_SUPPORTED 0x6D00 // SW_INS_NOT_SUPPORTED
|
||||
|
||||
#define CTAP2_ERR_CBOR_UNEXPECTED_TYPE 0x11
|
||||
#define CTAP2_ERR_INVALID_CBOR 0x12
|
||||
#define CTAP2_ERR_MISSING_PARAMETER 0x14
|
||||
#define CTAP2_ERR_LIMIT_EXCEEDED 0x15
|
||||
#define CTAP2_ERR_FP_DATABASE_FULL 0x17
|
||||
#define CTAP2_ERR_LARGE_BLOB_STORAGE_FULL 0x18
|
||||
#define CTAP2_ERR_CREDENTIAL_EXCLUDED 0x19
|
||||
#define CTAP2_ERR_PROCESSING 0x21
|
||||
#define CTAP2_ERR_INVALID_CREDENTIAL 0x22
|
||||
#define CTAP2_ERR_USER_ACTION_PENDING 0x23
|
||||
#define CTAP2_ERR_OPERATION_PENDING 0x24
|
||||
#define CTAP2_ERR_NO_OPERATIONS 0x25
|
||||
#define CTAP2_ERR_UNSUPPORTED_ALGORITHM 0x26
|
||||
#define CTAP2_ERR_OPERATION_DENIED 0x27
|
||||
#define CTAP2_ERR_KEY_STORE_FULL 0x28
|
||||
#define CTAP2_ERR_UNSUPPORTED_OPTION 0x2B
|
||||
#define CTAP2_ERR_INVALID_OPTION 0x2C
|
||||
#define CTAP2_ERR_KEEPALIVE_CANCEL 0x2D
|
||||
#define CTAP2_ERR_NO_CREDENTIALS 0x2E
|
||||
#define CTAP2_ERR_USER_ACTION_TIMEOUT 0x2F
|
||||
#define CTAP2_ERR_NOT_ALLOWED 0x30
|
||||
#define CTAP2_ERR_PIN_INVALID 0x31
|
||||
#define CTAP2_ERR_PIN_BLOCKED 0x32
|
||||
#define CTAP2_ERR_PIN_AUTH_INVALID 0x33
|
||||
#define CTAP2_ERR_PIN_AUTH_BLOCKED 0x34
|
||||
#define CTAP2_ERR_PIN_NOT_SET 0x35
|
||||
#define CTAP2_ERR_PUAT_REQUIRED 0x36
|
||||
#define CTAP2_ERR_PIN_POLICY_VIOLATION 0x37
|
||||
#define CTAP2_ERR_REQUEST_TOO_LARGE 0x39
|
||||
#define CTAP2_ERR_ACTION_TIMEOUT 0x3A
|
||||
#define CTAP2_ERR_UP_REQUIRED 0x3B
|
||||
#define CTAP2_ERR_UV_BLOCKED 0x3C
|
||||
#define CTAP2_ERR_INTEGRITY_FAILURE 0x3D
|
||||
#define CTAP2_ERR_INVALID_SUBCOMMAND 0x3E
|
||||
#define CTAP2_ERR_UV_INVALID 0x3F
|
||||
#define CTAP2_ERR_UNAUTHORIZED_PERMISSION 0x40
|
||||
#define CTAP2_ERR_SPEC_LAST 0xDF
|
||||
#define CTAP2_ERR_EXTENSION_FIRST 0xE0
|
||||
#define CTAP2_ERR_EXTENSION_LAST 0xEF
|
||||
#define CTAP2_ERR_VENDOR_FIRST 0xF0
|
||||
#define CTAP2_ERR_VENDOR_LAST 0xFF
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user