From c6ba90ba1ca606b63373caaba16cb4fcc65d00f9 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Mon, 9 Jan 2017 18:30:29 +0100 Subject: Remove unused inttypes Signed-off-by: Szczepan Zalega --- include/command_id.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/command_id.h') diff --git a/include/command_id.h b/include/command_id.h index 346b750..9d12f93 100644 --- a/include/command_id.h +++ b/include/command_id.h @@ -1,6 +1,6 @@ #ifndef COMMAND_ID_H #define COMMAND_ID_H -#include "inttypes.h" +#include namespace nitrokey { namespace proto { -- cgit v1.2.1 From e8f6df836522250b9a9d4052722fb9780683058b Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 18 Feb 2017 17:05:02 +0100 Subject: Use proper command code for disabling hidden volume Signed-off-by: Szczepan Zalega --- include/command_id.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/command_id.h') diff --git a/include/command_id.h b/include/command_id.h index 9d12f93..d0b1454 100644 --- a/include/command_id.h +++ b/include/command_id.h @@ -69,9 +69,9 @@ enum class CommandID : uint8_t { SEND_OTP_DATA = 0x17, ENABLE_CRYPTED_PARI = 0x20, - DISABLE_CRYPTED_PARI = 0x20 + 1, //@unused + DISABLE_CRYPTED_PARI = 0x20 + 1, ENABLE_HIDDEN_CRYPTED_PARI = 0x20 + 2, - DISABLE_HIDDEN_CRYPTED_PARI = 0x20 + 3, //@unused + DISABLE_HIDDEN_CRYPTED_PARI = 0x20 + 3, ENABLE_FIRMWARE_UPDATE = 0x20 + 4, //enables update mode EXPORT_FIRMWARE_TO_FILE = 0x20 + 5, GENERATE_NEW_KEYS = 0x20 + 6, -- cgit v1.2.1 From 894cef6e839785700250e7ffaf5c8892afecd394 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Wed, 22 Feb 2017 18:06:39 +0100 Subject: Comments Signed-off-by: Szczepan Zalega --- include/command_id.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/command_id.h') diff --git a/include/command_id.h b/include/command_id.h index d0b1454..d1246dd 100644 --- a/include/command_id.h +++ b/include/command_id.h @@ -12,7 +12,7 @@ namespace proto { wrong_password, busy_progressbar, password_matrix_ready, - no_user_password_unlock, + no_user_password_unlock, // FIXME: translate on receive to command status error (fix in firmware?) smartcard_error, security_bit_active }; -- cgit v1.2.1