aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-10-13 17:01:42 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-10-19 16:33:59 +0200
commitbf904facaa64baceadc439cf04f1fb224e95c0da (patch)
tree063c943d63184991b7ad147e81a58b8827faed25
parentf5ea1a2a4419241505e23ecd0d78d497cdce399c (diff)
downloadlibnitrokey-bf904facaa64baceadc439cf04f1fb224e95c0da.tar.gz
libnitrokey-bf904facaa64baceadc439cf04f1fb224e95c0da.tar.bz2
Add TODO note
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
-rw-r--r--include/stick20_commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stick20_commands.h b/include/stick20_commands.h
index 7539a19..ee35b9e 100644
--- a/include/stick20_commands.h
+++ b/include/stick20_commands.h
@@ -190,7 +190,7 @@ class SendPasswordMatrixSetup : semantics::non_constructible {
static const int payload_absolute_begin = 8;
static const int padding_size = OUTPUT_CMD_RESULT_STICK20_STATUS_START - payload_absolute_begin;
struct ResponsePayload {
- uint8_t _padding[padding_size];
+ uint8_t _padding[padding_size]; //TODO confirm padding in Storage firmware
//data starts from 21st byte of packet -> 13th byte of payload
uint8_t command_counter;
uint8_t last_command;