aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-02-21 13:12:12 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-03-11 15:41:49 +0100
commitad286a23ba8a542afe0095b97caf52320778c5e6 (patch)
tree9936362bd9e35017d1d68c4258fa1d064ac3cc7c /include
parent343b77dde196ab2e8ea82e7149b5703a771a9699 (diff)
downloadlibnitrokey-ad286a23ba8a542afe0095b97caf52320778c5e6.tar.gz
libnitrokey-ad286a23ba8a542afe0095b97caf52320778c5e6.tar.bz2
Feature check for 320 bits OTP secret
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include')
-rw-r--r--include/NitrokeyManager.h6
-rw-r--r--include/log.h2
2 files changed, 5 insertions, 3 deletions
diff --git a/include/NitrokeyManager.h b/include/NitrokeyManager.h
index 7cf55c7..d49941e 100644
--- a/include/NitrokeyManager.h
+++ b/include/NitrokeyManager.h
@@ -122,12 +122,14 @@ namespace nitrokey {
std::pair<uint8_t,uint8_t> get_SD_usage_data();
- int get_progress_bar_value();
+ int get_progress_bar_value();
~NitrokeyManager();
bool is_authorization_command_supported();
+ bool is_320_OTP_secret_supported();
- template <typename S, typename A, typename T>
+
+ template <typename S, typename A, typename T>
void authorize_packet(T &package, const char *admin_temporary_password, shared_ptr<Device> device);
int get_minor_firmware_version();
diff --git a/include/log.h b/include/log.h
index 0b0df8c..30fc7fa 100644
--- a/include/log.h
+++ b/include/log.h
@@ -5,7 +5,7 @@
namespace nitrokey {
namespace log {
-
+
#ifdef ERROR
#undef ERROR
#endif