aboutsummaryrefslogtreecommitdiff
path: root/include/stick20_commands.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-22 19:30:42 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-11-26 15:54:12 +0100
commitacf8adf7d6920e702cbd2f256ab312f80b781001 (patch)
tree79a48076873aff7fbd9e2b13140219ec419bb4e1 /include/stick20_commands.h
parent27355f0dd8eb11fe1a0d41bd05d3c7dcb74341d8 (diff)
downloadlibnitrokey-acf8adf7d6920e702cbd2f256ab312f80b781001.tar.gz
libnitrokey-acf8adf7d6920e702cbd2f256ab312f80b781001.tar.bz2
Enable hidden encrypted partition
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/stick20_commands.h')
-rw-r--r--include/stick20_commands.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/include/stick20_commands.h b/include/stick20_commands.h
index 5ee16de..34dda60 100644
--- a/include/stick20_commands.h
+++ b/include/stick20_commands.h
@@ -95,21 +95,7 @@ namespace nitrokey {
class EnableEncryptedPartition : public PasswordCommand<CommandID::ENABLE_CRYPTED_PARI> {};
class DisableEncryptedPartition : public PasswordCommand<CommandID::DISABLE_CRYPTED_PARI> {};
-
- class EnableHiddenEncryptedPartition : Command<CommandID::ENABLE_HIDDEN_CRYPTED_PARI> {
- public:
- struct CommandPayload {
- uint8_t password[30]; // TODO check w/ firmware
- std::string dissect() const {
- std::stringstream ss;
- print_to_ss( password );
- return ss.str();
- }
- };
-
- typedef Transaction<command_id(), struct CommandPayload, struct EmptyPayload>
- CommandTransaction;
- };
+ class EnableHiddenEncryptedPartition : public PasswordCommand<CommandID::ENABLE_HIDDEN_CRYPTED_PARI> {};
class DisableHiddenEncryptedPartition : Command<CommandID::DISABLE_CRYPTED_PARI> {
public: