Implemented authentication.
Near feature complete.
This commit is contained in:
12
APDU.hpp
12
APDU.hpp
@@ -1,8 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
enum APDU
|
||||
enum APDU : uint8_t
|
||||
{
|
||||
U2F_REG = 0x01,
|
||||
U2F_AUTH = 0x02,
|
||||
U2F_VER = 0x03
|
||||
};
|
||||
|
||||
enum APDU_STATUS : uint16_t
|
||||
{
|
||||
SW_NO_ERROR = 0x9000,
|
||||
SW_CONDITIONS_NOT_SATISFIED = 0x6985,
|
||||
SW_WRONG_DATA = 0x6A80,
|
||||
SW_WRONG_LENGTH = 0x6700,
|
||||
SW_CLA_NOT_SUPPORTED = 0x6E00,
|
||||
SW_INS_NOT_SUPPORTED = 0x6D00
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user