aboutsummaryrefslogtreecommitdiff
path: root/command_id.cc
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2018-04-05 00:36:04 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-04-19 13:18:40 +0200
commit961c30f7172228bbee84eefa6aaeb24f0c1a35e6 (patch)
treecd7029ff97f15ef0d0a8ecc9610c197a6bfc9872 /command_id.cc
parente71601bdc6e1df905aca36baa6e8e85096397f80 (diff)
downloadlibnitrokey-961c30f7172228bbee84eefa6aaeb24f0c1a35e6.tar.gz
libnitrokey-961c30f7172228bbee84eefa6aaeb24f0c1a35e6.tar.bz2
Correct documentation for NK_write_{hotp,totp}_slot
While the actual secret is 20 bytes, the functions accept a hex string. That means that every byte of the secret is represented by two bytes (characters) in the hex string. So the argument secret for the functions NK_write_{hotp,totp}_slot is char[40], not char[20].
Diffstat (limited to 'command_id.cc')
0 files changed, 0 insertions, 0 deletions