diff options
-rw-r--r-- | include/command_id.h | 3 | ||||
-rw-r--r-- | include/stick20_commands.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/include/command_id.h b/include/command_id.h index 76c7132..aa65dd3 100644 --- a/include/command_id.h +++ b/include/command_id.h @@ -66,9 +66,6 @@ enum class CommandID : uint8_t { CHANGE_USER_PIN = 0x14, CHANGE_ADMIN_PIN = 0x15, - STICK20_CMD_SEND_PASSWORD = stick20::CMD_START_VALUE + 18, - STICK20_CMD_SEND_NEW_PASSWORD = stick20::CMD_START_VALUE + 19, - ENABLE_CRYPTED_PARI = 0x20, DISABLE_CRYPTED_PARI = 0x20 + 1, ENABLE_HIDDEN_CRYPTED_PARI = 0x20 + 2, diff --git a/include/stick20_commands.h b/include/stick20_commands.h index a335809..7b69ec6 100644 --- a/include/stick20_commands.h +++ b/include/stick20_commands.h @@ -23,7 +23,7 @@ namespace nitrokey { Admin = 'A' }; - class ChangeAdminUserPin20Current : Command<CommandID::STICK20_CMD_SEND_PASSWORD> { + class ChangeAdminUserPin20Current : Command<CommandID::SEND_PASSWORD> { public: struct CommandPayload { uint8_t kind; @@ -46,7 +46,7 @@ namespace nitrokey { }; - class ChangeAdminUserPin20New : Command<CommandID::STICK20_CMD_SEND_NEW_PASSWORD> { + class ChangeAdminUserPin20New : Command<CommandID::SEND_NEW_PASSWORD> { public: struct CommandPayload { |